diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2019-06-20 13:46:13 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-06-20 13:46:13 +1000 |
commit | fb31d746456d438d1f9aa5b9c2d86f0f397888f1 (patch) | |
tree | 914f3db90c26336bdce2ebd9dea4560f50d22012 | |
parent | 87c754b04e2cf8a925deab9db3d19794edd95cd7 (diff) | |
download | linux-fb31d746456d438d1f9aa5b9c2d86f0f397888f1.tar.gz linux-fb31d746456d438d1f9aa5b9c2d86f0f397888f1.tar.xz |
selftests-ptrace-add-a-test-case-for-ptrace_get_syscall_info-checkpatch-fixes
WARNING: Improper SPDX comment style for 'tools/testing/selftests/ptrace/get_syscall_info.c', please use '//' instead
#38: FILE: tools/testing/selftests/ptrace/get_syscall_info.c:1:
+/* SPDX-License-Identifier: GPL-2.0+
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
#38: FILE: tools/testing/selftests/ptrace/get_syscall_info.c:1:
+/* SPDX-License-Identifier: GPL-2.0+
total: 0 errors, 2 warnings, 279 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
./patches/selftests-ptrace-add-a-test-case-for-ptrace_get_syscall_info.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: "Dmitry V. Levin" <ldv@altlinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | tools/testing/selftests/ptrace/get_syscall_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/ptrace/get_syscall_info.c b/tools/testing/selftests/ptrace/get_syscall_info.c index d1961c3ee72e..5bcd1c7b5be6 100644 --- a/tools/testing/selftests/ptrace/get_syscall_info.c +++ b/tools/testing/selftests/ptrace/get_syscall_info.c @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ - * +// SPDX-License-Identifier: GPL-2.0+ +/* * Copyright (c) 2018 Dmitry V. Levin <ldv@altlinux.org> * All rights reserved. * |