[PATCH] resource: add CONFIG_DEBUG_RESOURCES option

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 24 01:14:59 PDT 2024


On Mon, 22 Jul 2024 19:06:41 +0200, Ahmad Fatoum wrote:
> Whether a resource conflict is indeed a problem depends on how the user
> handles it. Most users will propagate an -EBUSY error, but some will
> gracefully handle it and move on.
> 
> We thus can't just warn unconditionally about conflicts in __request_region.
> It's still useful to enable warnings there though while debugging, so
> let's add a Kconfig option that enables these debugging prints.
> 
> [...]

Applied, thanks!

[1/1] resource: add CONFIG_DEBUG_RESOURCES option
      https://git.pengutronix.de/cgit/barebox/commit/?id=aafcfb061c98 (link may not be stable)

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




More information about the barebox mailing list