[PATCH] commands: usbgadget: improve error message on failure
Sascha Hauer
s.hauer at pengutronix.de
Wed Nov 5 23:43:45 PST 2025
On Wed, 05 Nov 2025 10:36:38 +0100, Ahmad Fatoum wrote:
> The command reports EINVAL when encountering an option it doesn't
> understand and the help text for other errors.
>
> It's more useful to users to flip them around, so they can see e.g.
> -EPERM if a security policy prevented the command from working.
>
>
> [...]
Applied, thanks!
[1/1] commands: usbgadget: improve error message on failure
https://git.pengutronix.de/cgit/barebox/commit/?id=84288a3726a8 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list