OpenCloudOS-Kernel/mm/damon
Adam Borowski 892ab4bbd0 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>
2021-09-24 16:13:34 -07:00
..
Kconfig mm/damon: add kunit tests 2021-09-08 11:50:25 -07:00
Makefile mm/damon: implement a debugfs-based user space interface 2021-09-08 11:50:24 -07:00
core-test.h mm/damon: add kunit tests 2021-09-08 11:50:25 -07:00
core.c mm/damon: add kunit tests 2021-09-08 11:50:25 -07:00
dbgfs-test.h mm/damon: don't use strnlen() with known-bogus source length 2021-09-24 16:13:34 -07:00
dbgfs.c mm/damon: add kunit tests 2021-09-08 11:50:25 -07:00
vaddr-test.h mm/damon: add kunit tests 2021-09-08 11:50:25 -07:00
vaddr.c mm/damon: add kunit tests 2021-09-08 11:50:25 -07:00