On 1/16/23 2:56 AM, Roberto Valenzuela wrote:
Add the missing "SDPX-License-Identifier" license header to the test_verifier_log.c and urandom_read.c. These changes will resolve the following checkpatch.pl script warning: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 Signed-off-by: Roberto Valenzuela <valenzuelarober@xxxxxxxxx> --- tools/testing/selftests/bpf/test_verifier_log.c | 2 ++ tools/testing/selftests/bpf/urandom_read.c | 2 ++ 2 files changed, 4 insertions(+)
This is a bit insufficient, there are many more files than just this random pick above which do not contain an SPDX string.
diff --git a/tools/testing/selftests/bpf/test_verifier_log.c b/tools/testing/selftests/bpf/test_verifier_log.c index 70feda97cee5..efee9bc3e9b4 100644 --- a/tools/testing/selftests/bpf/test_verifier_log.c +++ b/tools/testing/selftests/bpf/test_verifier_log.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only +