Re: [PATCH 212/212] dma: make dma_mapping_error NULL-device safe
Sascha Hauer <[email protected]> Thu, 02 Jul 2026 09:07:36 +0200
| Newsgroups | org.infradead.lists.barebox |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 19 Jun 2026 16:09:18 +0000, Johannes Schneider wrote:
> PBL callers often pass NULL as dev; NULL deref of dev->dma_mask
> reads i.MX8M boot ROM and returns junk byte causing false 'mapping
> error'. Treat NULL dev as 'no constraint'.
>
>
Applied, thanks!
[212/212] dma: make dma_mapping_error NULL-device safe
https://git.pengutronix.de/cgit/barebox/commit/?id=d058dbc760ff (link may not be stable)
Best regards,
--
Sascha Hauer <[email protected]>