diff options
| author | 2024-06-24 19:57:28 +0200 | |
|---|---|---|
| committer | 2024-08-01 16:40:44 -0700 | |
| commit | 43d631bf06ec961bbe4c824b931fe03be44c419c (patch) | |
| tree | b214e6659d0b966a9d9ee423f548e04db38e1899 /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | Linux 6.11-rc1 (diff) | |
kcsan: Use min() to fix Coccinelle warning
Fixes the following Coccinelle/coccicheck warning reported by
minmax.cocci:
WARNING opportunity for min()
Use const size_t instead of int for the result of min().
Compile-tested with CONFIG_KCSAN=y.
Reviewed-by: Marco Elver <elver@google.com>
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
