diff options
author | Kees Cook <[email protected]> | 2024-01-29 10:21:58 -0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2024-02-29 13:38:01 -0800 |
commit | 3e19086fb5a9079611de426e8cb2f4503e28757e (patch) | |
tree | cd6e2d20f3e76522542aee1f9b8799362d30c27e /net/lapb/lapb_timer.c | |
parent | adeb04362d74188c1e22ccb824b15a0a7b3de2f4 (diff) |
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 <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions