linux/kernel/kcsan
Thorsten Blum 43d631bf06 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>
2024-08-01 16:40:44 -07:00
..
.kunitconfig
core.c
debugfs.c kcsan: Use min() to fix Coccinelle warning 2024-08-01 16:40:44 -07:00
encoding.h
kcsan.h
kcsan_test.c kcsan: Add missing MODULE_DESCRIPTION() macro 2024-06-06 11:21:14 -07:00
Makefile
permissive.h
report.c
selftest.c