kernel/scripts/coccinelle/misc/bugon.cocci
.. .. @@ -1,3 +1,4 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 /// Use BUG_ON instead of a if condition followed by BUG. 2 3 /// 3 4 //# This makes an effort to find cases where BUG() follows an if .. .. @@ -6,7 +7,7 @@ 6 7 //# as argument. 7 8 // 8 9 // Confidence: High 9 -// Copyright: (C) 2014 Himangi Saraogi. GPLv2.10 +// Copyright: (C) 2014 Himangi Saraogi.10 11 // Comments: 11 12 // Options: --no-includes --include-headers 12 13