diff options
author | Kent Overstreet <[email protected]> | 2024-07-30 20:33:25 -0400 |
---|---|---|
committer | Kent Overstreet <[email protected]> | 2024-08-07 08:31:10 -0400 |
commit | 7442b5cdf259e2fb112560904b7002ce48d15578 (patch) | |
tree | d4ad9b1f07561570c9b0f92cec4bdc7bf84c8137 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | ff9bf4b34104955017822e9bc42aeeb526ee2a80 (diff) |
bcachefs: Don't rely on implicit unsigned -> signed integer conversion
implicit integer conversion is a fertile source of bugs, and we really
would rather not have the min()/max() macros doing it implicitly.
bcachefs appears to be the only place in the kernel where this happens,
so let's fix it.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions