diff options
author | Adam Borowski <kilobyte@angband.pl> | 2021-09-25 00:43:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-25 01:13:34 +0200 |
commit | 892ab4bbd063cfe7f6bbb183e6be69d9907a61de (patch) | |
tree | 27c125ebddfd9d6593109eb70b2bde2c380da56a /lib/Kconfig.debug | |
parent | kasan: fix Kconfig check of CC_HAS_WORKING_NOSANITIZE_ADDRESS (diff) | |
download | linux-892ab4bbd063cfe7f6bbb183e6be69d9907a61de.tar.xz linux-892ab4bbd063cfe7f6bbb183e6be69d9907a61de.zip |
mm/damon: don't use strnlen() with known-bogus source length
gcc knows the true length too, and rightfully complains.
Link: https://lkml.kernel.org/r/20210912204447.10427-1-kilobyte@angband.pl
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Cc: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions