kmerr.cocci (e5451c8f8330e03ad3cfa16048b4daf961af434f) | kmerr.cocci (7f904d7e1f3ec7c2de47c024a5a5c30988b54703) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only |
|
1/// This semantic patch looks for kmalloc etc that are not followed by a 2/// NULL check. It only gives a report in the case where there is some 3/// error handling code later in the function, which may be helpful 4/// in determining what the error handling code for the call to kmalloc etc 5/// should be. 6/// 7// Confidence: High | 2/// This semantic patch looks for kmalloc etc that are not followed by a 3/// NULL check. It only gives a report in the case where there is some 4/// error handling code later in the function, which may be helpful 5/// in determining what the error handling code for the call to kmalloc etc 6/// should be. 7/// 8// Confidence: High |
8// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. 9// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. 10// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. | 9// Copyright: (C) 2010 Nicolas Palix, DIKU. 10// Copyright: (C) 2010 Julia Lawall, DIKU. 11// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. |
11// URL: http://coccinelle.lip6.fr/ 12// Comments: 13// Options: --no-includes --include-headers 14 15virtual context 16virtual org 17virtual report 18 --- 54 unchanged lines hidden --- | 12// URL: http://coccinelle.lip6.fr/ 13// Comments: 14// Options: --no-includes --include-headers 15 16virtual context 17virtual org 18virtual report 19 --- 54 unchanged lines hidden --- |