Re: [PATCH] selftests/bpf: add missing SPDX license headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
+



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux