[PATCH 212/212] dma: make dma_mapping_error NULL-device safe

Sascha Hauer s.hauer at pengutronix.de
Thu Jul 2 00:07:36 PDT 2026


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 <s.hauer at pengutronix.de>




More information about the barebox mailing list