diff options
Diffstat (limited to 'scripts/coccinelle/api/ptr_ret.cocci')
| -rw-r--r-- | scripts/coccinelle/api/ptr_ret.cocci | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/coccinelle/api/ptr_ret.cocci b/scripts/coccinelle/api/ptr_ret.cocci index dd58dab5d411..e76cd5d90a8a 100644 --- a/scripts/coccinelle/api/ptr_ret.cocci +++ b/scripts/coccinelle/api/ptr_ret.cocci | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /// | 2 | /// |
| 2 | /// Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR | 3 | /// Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR |
| 3 | /// | 4 | /// |
| 4 | // Confidence: High | 5 | // Confidence: High |
| 5 | // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. | 6 | // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. |
| 6 | // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. | 7 | // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. |
| 7 | // URL: http://coccinelle.lip6.fr/ | 8 | // URL: http://coccinelle.lip6.fr/ |
| 8 | // Options: --no-includes --include-headers | 9 | // Options: --no-includes --include-headers |
| 9 | // | 10 | // |
