From 24d7cfe0f9fa833be7c4fc3951fdeeaaddbce6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ni=C3=B1o=20D=C3=ADaz?= Date: Fri, 27 Apr 2018 23:00:26 +0100 Subject: [PATCH] checkpatch: Ignore warnings about SPDX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Linux kernel expects the SPDX license tag to be in the first line of all source code files. The reason is that they have many different license headers, and this simplifies the work for any tool that has to determine the license of each file. In this project, the license headers follow the same pattern, so it isn't useful. Signed-off-by: Antonio Niño Díaz --- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 4f4ed543..e9a2c35f 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -16,6 +16,9 @@ # Show file line, not input line --showfile +# Don't expect SPDX tag in the first line of a file +--ignore SPDX_LICENSE_TAG + # List of ignored rules # ---------------------