mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@barebox.org>
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: Re: [PATCH] commands: usbgadget: improve error message on failure
Date: Thu, 06 Nov 2025 08:43:45 +0100	[thread overview]
Message-ID: <176241502522.3583559.475732319714503740.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20251105093639.1200672-1-a.fatoum@barebox.org>


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@pengutronix.de>




      reply	other threads:[~2025-11-06  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-05  9:36 Ahmad Fatoum
2025-11-06  7:43 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176241502522.3583559.475732319714503740.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@barebox.org \
    --cc=barebox@lists.infradead.org \
    --cc=f.pflug@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox