Re: [PATCH] overflow: improve check_shl_overflow comment

From: Kees Cook
Date: Thu Apr 01 2021 - 17:14:15 EST


On Thu, 1 Apr 2021 09:06:29 -0700, Keith Busch wrote:
> A 'false' return means the value was safely set, so the comment should
> say 'true' for when it is not considered safe.

Oops, yes; too many inverse negatives. ;) Applied to for-next/overflow, thanks!

[1/1] overflow: Correct check_shl_overflow() comment
https://git.kernel.org/kees/c/4578be130a64

--
Kees Cook