summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/mremap_dontunmap.c
diff options
context:
space:
mode:
authorDavid Yang <davidcomponentone@gmail.com>2021-10-28 14:36:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-10-28 17:18:55 -0700
commit9c7516d669e68e94e17203469a873ff5d1d3a41a (patch)
tree0bca55e86e4bcac687b2946497c8fa70596916ec /tools/testing/selftests/vm/mremap_dontunmap.c
parent2e014660b3e4b7bd0e75f845cdcf745c0f632889 (diff)
tools/testing/selftests/vm/split_huge_page_test.c: fix application of sizeof to pointer
The coccinelle check report: ./tools/testing/selftests/vm/split_huge_page_test.c:344:36-42: ERROR: application of sizeof to pointer Use "strlen" to fix it. Link: https://lkml.kernel.org/r/20211012030116.184027-1-davidcomponentone@gmail.com Signed-off-by: David Yang <davidcomponentone@gmail.com> Reported-by: Zeal Robot <zealci@zte.com.cn> Cc: Zi Yan <ziy@nvidia.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/mremap_dontunmap.c')
0 files changed, 0 insertions, 0 deletions