projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd5c96
)
coccinelle: free: add version constraint
author
Julia Lawall
<Julia.Lawall@inria.fr>
Sat, 16 Jul 2022 13:28:10 +0000
(15:28 +0200)
committer
Julia Lawall
<Julia.Lawall@inria.fr>
Sun, 7 Aug 2022 19:30:24 +0000
(21:30 +0200)
The various functions contain a NULL check starting in v5.15.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccinelle/free/ifnulldev_put.cocci
patch
|
blob
|
history
diff --git
a/scripts/coccinelle/free/ifnulldev_put.cocci
b/scripts/coccinelle/free/ifnulldev_put.cocci
index 7ff36e6212ba0dd5341d3f6bb06daa40c5331e06..2bd2e8fae48549dfffd0954f188ca9acb8c52ffc 100644
(file)
--- a/
scripts/coccinelle/free/ifnulldev_put.cocci
+++ b/
scripts/coccinelle/free/ifnulldev_put.cocci
@@
-7,6
+7,7
@@
// Copyright: (C) 2022 Ziyang Xuan.
// Comments: -
// Options: --no-includes --include-headers
+// Version min: 5.15
virtual patch
virtual org