From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Florian Fainelli <florian.fainelli@broadcom.com>,
Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH stable v5.4 v2 2/3] overflow: Correct check_shl_overflow() comment
Date: Sun, 9 Mar 2025 22:14:23 -0400 [thread overview]
Message-ID: <20250309204603-67158eaaa5fc160b@stable.kernel.org> (raw)
In-Reply-To: <20250307130953.3427986-3-florian.fainelli@broadcom.com>
[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected.
No action required from the submitter.
The upstream commit SHA1 provided is correct: 4578be130a6470d85ff05b13b75a00e6224eeeeb
WARNING: Author mismatch between patch and upstream commit:
Backport author: Florian Fainelli<florian.fainelli@broadcom.com>
Commit author: Keith Busch<kbusch@kernel.org>
Status in newer kernel trees:
6.13.y | Present (exact SHA1)
6.12.y | Present (exact SHA1)
6.6.y | Present (exact SHA1)
6.1.y | Present (exact SHA1)
Note: The patch differs from the upstream commit:
---
1: 4578be130a647 ! 1: a99708e5c1aad overflow: Correct check_shl_overflow() comment
@@ Metadata
## Commit message ##
overflow: Correct check_shl_overflow() comment
+ commit 4578be130a6470d85ff05b13b75a00e6224eeeeb upstream
+
A 'false' return means the value was safely set, so the comment should
say 'true' for when it is not considered safe.
@@ Commit message
Signed-off-by: Kees Cook <keescook@chromium.org>
Fixes: 0c66847793d1 ("overflow.h: Add arithmetic shift helper")
Link: https://lore.kernel.org/r/20210401160629.1941787-1-kbusch@kernel.org
+ Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
## include/linux/overflow.h ##
@@ include/linux/overflow.h: static inline bool __must_check __must_check_overflow(bool overflow)
---
Results of testing on various branches:
| Branch | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-5.4.y | Success | Success |
next prev parent reply other threads:[~2025-03-10 2:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-07 13:09 [PATCH stable v5.4 v2 0/3] Missing overflow changes Florian Fainelli
2025-03-07 13:09 ` [PATCH stable v5.4 v2 1/3] overflow: Add __must_check attribute to check_*() helpers Florian Fainelli
2025-03-10 2:14 ` Sasha Levin
2025-03-07 13:09 ` [PATCH stable v5.4 v2 2/3] overflow: Correct check_shl_overflow() comment Florian Fainelli
2025-03-10 2:14 ` Sasha Levin [this message]
2025-03-07 13:09 ` [PATCH stable v5.4 v2 3/3] overflow: Allow mixed type arguments Florian Fainelli
2025-03-10 2:14 ` Sasha Levin
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=20250309204603-67158eaaa5fc160b@stable.kernel.org \
--to=sashal@kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=stable@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