From: Breno Leitao <leitao@debian.org>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: akpm@linux-foundation.org, leit@meta.com,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] fault-injection: Enhance failcmd to exit on non-hex address input
Date: Mon, 29 Jul 2024 01:59:46 -0700 [thread overview]
Message-ID: <ZqdaAn0s8J3fZ15u@gmail.com> (raw)
In-Reply-To: <CAC5umygxnq=h1H2CCeprzaggu_A4DxZia3EEBTYk7sb72OnQFA@mail.gmail.com>
Hello Akinobu,
On Sun, Jul 28, 2024 at 06:00:14PM +0900, Akinobu Mita wrote:
> 2024年7月26日(金) 19:50 Breno Leitao <leitao@debian.org>:
> > +exit_if_not_hex() {
> > + local value="$1"
> > + if ! [[ $value =~ ^0x[0-9a-fA-F]+$ ]]; then
> > + echo "Error: The provided value '$value' is not a valid hexadecimal number."
>
> It is better to write error messages to standard error rather than
> standard output.
Agree. I've sent a V2 with your proposed change. Thanks!
> Other than that I think it's good.
Thanks.
By the way, this file seems unmaintained by looking at MAINTAINERS.
Would you mind if I send something as:
Author: Breno Leitao <leitao@debian.org>
Date: Mon Jul 29 01:53:44 2024 -0700
failcmd: Add script file in MAINTAINERS
failcmd is one of the main interfaces to fault injection framework, but,
it is not listed under FAULT INJECTION SUPPORT entry in MAINTAINERS.
This is unfortunate, since git-send-email doesn't find emails to send
the patches to, forcing the user to try to guess who maintains it.
Akinobu Mita seems to be actively maintaining it, so, let's add the file
under FAULT INJECTION SUPPORT section.
Signed-off-by: Breno Leitao <leitao@debian.org>
diff --git a/MAINTAINERS b/MAINTAINERS
index 0748d6bd0c4f..11f3ef0b5ffd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8388,6 +8388,7 @@ M: Akinobu Mita <akinobu.mita@gmail.com>
S: Supported
F: Documentation/fault-injection/
F: lib/fault-inject.c
+F: tools/testing/fault-injection/
FBTFT Framebuffer drivers
L: dri-devel@lists.freedesktop.org
next prev parent reply other threads:[~2024-07-29 8:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-26 10:48 [PATCH] fault-injection: Enhance failcmd to exit on non-hex address input Breno Leitao
2024-07-28 9:00 ` Akinobu Mita
2024-07-29 8:59 ` Breno Leitao [this message]
2024-07-30 14:09 ` Akinobu Mita
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=ZqdaAn0s8J3fZ15u@gmail.com \
--to=leitao@debian.org \
--cc=akinobu.mita@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=leit@meta.com \
--cc=linux-kernel@vger.kernel.org \
/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