.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /// list_for_each_entry uses its first argument to get from one element of |
---|
2 | 3 | /// the list to the next, so it is usually not a good idea to reassign it. |
---|
3 | 4 | /// The first rule finds such a reassignment and the second rule checks |
---|
4 | 5 | /// that there is a path from the reassignment back to the top of the loop. |
---|
5 | 6 | /// |
---|
6 | 7 | // 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. |
---|
10 | 11 | // URL: http://coccinelle.lip6.fr/ |
---|
11 | 12 | // Comments: |
---|
12 | 13 | // Options: --no-includes --include-headers |
---|