diff options
author | David Yang <[email protected]> | 2021-10-28 14:36:36 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-10-28 17:18:55 -0700 |
commit | 9c7516d669e68e94e17203469a873ff5d1d3a41a (patch) | |
tree | 0bca55e86e4bcac687b2946497c8fa70596916ec /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 2e014660b3e4b7bd0e75f845cdcf745c0f632889 (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/[email protected]
Signed-off-by: David Yang <[email protected]>
Reported-by: Zeal Robot <[email protected]>
Cc: Zi Yan <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions