Skip to content

Commit 2fbc66c

Browse files
committed
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
2 parents 288321a + 4578be1 commit 2fbc66c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/overflow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static inline bool __must_check __must_check_overflow(bool overflow)
235235
* - 'a << s' sets the sign bit, if any, in '*d'.
236236
*
237237
* '*d' will hold the results of the attempted shift, but is not
238-
* considered "safe for use" if false is returned.
238+
* considered "safe for use" if true is returned.
239239
*/
240240
#define check_shl_overflow(a, s, d) __must_check_overflow(({ \
241241
typeof(a) _a = a; \

0 commit comments

Comments
 (0)