aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-06-24 19:19:53 +0200
committerIngo Molnar <mingo@kernel.org>2019-06-24 19:19:53 +0200
commitd2abae71ebcc409828b24ce9da402548ecdf1311 (patch)
tree5edfafc2828d3bcebb3698520ccba374cd4328c0 /scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci
parentsched/fair: Don't push cfs_bandwith slack timers forward (diff)
parentLinux 5.2-rc6 (diff)
downloadlinux-dev-d2abae71ebcc409828b24ce9da402548ecdf1311.tar.xz
linux-dev-d2abae71ebcc409828b24ce9da402548ecdf1311.zip
Merge tag 'v5.2-rc6' into sched/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci')
-rw-r--r--scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci3
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