[PATCH 1/2] fs: make dpath always panic on OOM
Sascha Hauer
s.hauer at pengutronix.de
Mon Oct 20 04:14:38 PDT 2025
On Wed, 15 Oct 2025 10:16:45 +0200, Ahmad Fatoum wrote:
> This is effectively already the case since basprintf was changed to be
> equivalent to xasprintf. Replace basprintf with xasprintf to make this
> clearer and use xstrdup instead of strdup for the root node.
>
> All users, except one, didn't bother to check dpath return value for NULL
> anyway.
>
> [...]
Applied, thanks!
[1/2] fs: make dpath always panic on OOM
https://git.pengutronix.de/cgit/barebox/commit/?id=d8b66050032b (link may not be stable)
[2/2] fs: add filepath helper
https://git.pengutronix.de/cgit/barebox/commit/?id=60dd427b634d (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list