kernel/scripts/coccinelle/misc/array_size.cocci
.. .. @@ -1,3 +1,4 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element 2 3 /// 3 4 //# This makes an effort to find cases where ARRAY_SIZE can be used such as .. .. @@ -6,7 +7,7 @@ 6 7 //# division of the two sizeofs by ARRAY_SIZE. 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