summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2021-09-25 01:43:26 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-25 02:13:34 +0300
commit892ab4bbd063cfe7f6bbb183e6be69d9907a61de (patch)
tree27c125ebddfd9d6593109eb70b2bde2c380da56a /lib
parentfa360beac4b62d54879a88b182afef4b369c9700 (diff)
downloadlinux-892ab4bbd063cfe7f6bbb183e6be69d9907a61de.tar.xz
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')
0 files changed, 0 insertions, 0 deletions