From: Dan Carpenter <dan.carpenter@linaro.org>
To: Enno Onneken <ennoonneken@outlook.de>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] reboot: add missing break to switch statement for LINUX_REBOOT_CMD_HALT
Date: Wed, 14 Aug 2024 21:12:55 +0300 [thread overview]
Message-ID: <7bb6e1c5-8ab3-4d1f-9e34-d231f0684572@stanley.mountain> (raw)
In-Reply-To: <750452a3-ac8a-4af5-849f-3db83158a1e5@stanley.mountain>
Please don't drop the lists from the CC.
To be honest, I wouldn't bother with this patch but lots of people send lots of
patches that I probably wouldn't send and I send patches that they wouldn't
send.
If you want to resend it that's fine, but the commit message should say
something like, "The break statement isn't required for after a do_exit() call,
because it is a __noreturn function. However, other do_exit() paths in this
switch() statement have a break statement so it looks weird. Let's make this
consistent. This change has no effect on runtime."
regards,
dan carpenter
prev parent reply other threads:[~2024-08-14 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-14 14:24 Enno Onneken
2024-08-14 15:47 ` Dan Carpenter
2024-08-14 18:12 ` Dan Carpenter [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=7bb6e1c5-8ab3-4d1f-9e34-d231f0684572@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=akpm@linux-foundation.org \
--cc=ennoonneken@outlook.de \
--cc=kernel-janitors@vger.kernel.org \
--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
all inboxes | Powered by JetHome®