summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2024-01-29 10:21:58 -0800
committerKees Cook <keescook@chromium.org>2024-02-29 13:38:01 -0800
commit3e19086fb5a9079611de426e8cb2f4503e28757e (patch)
treecd6e2d20f3e76522542aee1f9b8799362d30c27e /lib
parentadeb04362d74188c1e22ccb824b15a0a7b3de2f4 (diff)
downloadlinux-stable-3e19086fb5a9079611de426e8cb2f4503e28757e.tar.gz
linux-stable-3e19086fb5a9079611de426e8cb2f4503e28757e.tar.bz2
linux-stable-3e19086fb5a9079611de426e8cb2f4503e28757e.zip
overflow: Adjust check_*_overflow() kern-doc to reflect results
The check_*_overflow() helpers will return results with potentially wrapped-around values. These values have always been checked by the selftests, so avoid the confusing language in the kern-doc. The idea of "safe for use" was relative to the expectation of whether or not the caller wants a wrapped value -- the calculation itself will always follow arithmetic wrapping rules. Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions