diff options
author | 2019-06-04 10:11:38 +0200 | |
---|---|---|
committer | 2019-06-19 17:11:22 +0200 | |
commit | 7f904d7e1f3ec7c2de47c024a5a5c30988b54703 (patch) | |
tree | 51d62c63799926029500a604b32a06e464740c97 /scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci | |
parent | treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504 (diff) | |
download | linux-7f904d7e1f3ec7c2de47c024a5a5c30988b54703.tar.gz linux-7f904d7e1f3ec7c2de47c024a5a5c30988b54703.tar.bz2 linux-7f904d7e1f3ec7c2de47c024a5a5c30988b54703.zip |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
Based on 1 normalized pattern(s):
gplv2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 58 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Allison Randal <allison@lohutok.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081207.556988620@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci')
-rw-r--r-- | scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci b/scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci index 8fa5a3c7b784..91e286ace54c 100644 --- a/scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci +++ b/scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Unsigned expressions cannot be lesser than zero. Presence of /// comparisons 'unsigned (<|<=|>|>=) 0' often indicates a bug, /// usually wrong type of variable. @@ -11,7 +12,7 @@ /// result is used to avoid false positives difficult to detect by other ways /// // Confidence: Average -// Copyright: (C) 2015 Andrzej Hajda, Samsung Electronics Co., Ltd. GPLv2. +// Copyright: (C) 2015 Andrzej Hajda, Samsung Electronics Co., Ltd. // URL: http://coccinelle.lip6.fr/ // Options: --all-includes |