summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-04-27 20:10:29 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-04-27 20:10:29 +0300
commit2fbc66c7838a7fbfb91bf8e119e51e73b4a8a0bc (patch)
tree13b3caee51cd22332d542d70e4efa074302d0cd2
parent288321a9c65192878446a00acaa9f6c3ca9bb1f5 (diff)
parent4578be130a6470d85ff05b13b75a00e6224eeeeb (diff)
downloadlinux-2fbc66c7838a7fbfb91bf8e119e51e73b4a8a0bc.tar.xz
Merge tag 'overflow-v5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull overflow update from Kees Cook: "I was expecting more in this tree for this cycle, but the other work has not yet landed for -next. As a result, only this single typo fix exists. Yay tiny pulls. :) - Fix typo in check_shl_overflow() kern-dec (Keith Busch)" * tag 'overflow-v5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: overflow: Correct check_shl_overflow() comment
-rw-r--r--include/linux/overflow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/overflow.h b/include/linux/overflow.h
index ef74051d5cfe..0f12345c21fb 100644
--- a/include/linux/overflow.h
+++ b/include/linux/overflow.h
@@ -235,7 +235,7 @@ static inline bool __must_check __must_check_overflow(bool overflow)
* - 'a << s' sets the sign bit, if any, in '*d'.
*
* '*d' will hold the results of the attempted shift, but is not
- * considered "safe for use" if false is returned.
+ * considered "safe for use" if true is returned.
*/
#define check_shl_overflow(a, s, d) __must_check_overflow(({ \
typeof(a) _a = a; \