[PATCH] resource: replace wrong NULL check for dev_get_resource_by_name with IS_ERR

Sascha Hauer s.hauer at pengutronix.de
Tue May 6 00:23:00 PDT 2025


On Tue, 06 May 2025 08:21:59 +0200, Ahmad Fatoum wrote:
> On error, dev_get_resource_by_name returns an error pointer, but a NULL
> pointer was assumed instead erroneously.
> 
> 

Applied, thanks!

[1/1] resource: replace wrong NULL check for dev_get_resource_by_name with IS_ERR
      https://git.pengutronix.de/cgit/barebox/commit/?id=16f93a2397b2 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list