cstptr.cocci (e5451c8f8330e03ad3cfa16048b4daf961af434f) cstptr.cocci (7f904d7e1f3ec7c2de47c024a5a5c30988b54703)
1// SPDX-License-Identifier: GPL-2.0-only
1/// PTR_ERR should be applied before its argument is reassigned, typically
2/// to NULL
3///
4// Confidence: High
2/// PTR_ERR should be applied before its argument is reassigned, typically
3/// to NULL
4///
5// Confidence: High
5// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2.
6// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
6// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
7// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
7// URL: http://coccinelle.lip6.fr/
8// Comments:
9// Options: --no-includes --include-headers
10
11virtual org
12virtual report
13virtual context
14

--- 27 unchanged lines hidden ---
8// URL: http://coccinelle.lip6.fr/
9// Comments:
10// Options: --no-includes --include-headers
11
12virtual org
13virtual report
14virtual context
15

--- 27 unchanged lines hidden ---