diff options
author | Adam Borowski <kilobyte@angband.pl> | 2021-09-24 15:43:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-24 16:13:34 -0700 |
commit | 892ab4bbd063cfe7f6bbb183e6be69d9907a61de (patch) | |
tree | 27c125ebddfd9d6593109eb70b2bde2c380da56a /lib/Kconfig.debug | |
parent | fa360beac4b62d54879a88b182afef4b369c9700 (diff) | |
download | lwn-892ab4bbd063cfe7f6bbb183e6be69d9907a61de.tar.gz lwn-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