[PATCH] public-keys: fix warning message
Sascha Hauer
s.hauer at pengutronix.de
Tue Nov 25 02:45:04 PST 2025
On Fri, 21 Nov 2025 16:17:44 +0100, Sascha Hauer wrote:
> idr_alloc() returns the id allocated or a negative error code. Checking
> for an error with if (ret) is wrong, check for < 0 instead.
>
>
Applied, thanks!
[1/1] public-keys: fix warning message
https://git.pengutronix.de/cgit/barebox/commit/?id=591b47b081f0 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list