[PATCH master 1/3] resource: return NULL for error in request_barebox_region
Sascha Hauer
s.hauer at pengutronix.de
Wed Jul 24 01:08:39 PDT 2024
On Mon, 22 Jul 2024 19:06:04 +0200, Ahmad Fatoum wrote:
> The function currently returns NULL for error if the range is in SDRAM
> and couldn't be requested or an error pointer if the range is outside.
>
> Reduce the confusion by using only one way to indicate error. As
> request_barebox_region is used to replace request_sdram_region calls and
> that returns NULL on error, follow suit.
>
> [...]
Applied, thanks!
[1/3] resource: return NULL for error in request_barebox_region
https://git.pengutronix.de/cgit/barebox/commit/?id=43b22bac73b7 (link may not be stable)
[2/3] ARM: i.MX8M: scratch: fix initcall return code on request_barebox_region error
https://git.pengutronix.de/cgit/barebox/commit/?id=302d824e27f3 (link may not be stable)
[3/3] RISC-V: cpu: fix initcall return code on request_barebox_region error
https://git.pengutronix.de/cgit/barebox/commit/?id=9f09e687430f (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list