forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/scripts/coccinelle/null/kmerr.cocci
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /// This semantic patch looks for kmalloc etc that are not followed by a
23 /// NULL check. It only gives a report in the case where there is some
34 /// error handling code later in the function, which may be helpful
....@@ -5,9 +6,9 @@
56 /// should be.
67 ///
78 // 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.
1112 // URL: http://coccinelle.lip6.fr/
1213 // Comments:
1314 // Options: --no-includes --include-headers