hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/scripts/coccinelle/iterators/list_entry_update.cocci
....@@ -1,12 +1,13 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /// list_for_each_entry uses its first argument to get from one element of
23 /// the list to the next, so it is usually not a good idea to reassign it.
34 /// The first rule finds such a reassignment and the second rule checks
45 /// that there is a path from the reassignment back to the top of the loop.
56 ///
67 // Confidence: High
7
-// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2.
8
-// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2.
9
-// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2.
8
+// Copyright: (C) 2010 Nicolas Palix, DIKU.
9
+// Copyright: (C) 2010 Julia Lawall, DIKU.
10
+// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.
1011 // URL: http://coccinelle.lip6.fr/
1112 // Comments:
1213 // Options: --no-includes --include-headers