]> git.baikalelectronics.ru Git - kernel.git/commitdiff
coccinelle: free: add version constraint
authorJulia Lawall <Julia.Lawall@inria.fr>
Sat, 16 Jul 2022 13:28:10 +0000 (15:28 +0200)
committerJulia 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

index 7ff36e6212ba0dd5341d3f6bb06daa40c5331e06..2bd2e8fae48549dfffd0954f188ca9acb8c52ffc 100644 (file)
@@ -7,6 +7,7 @@
 // Copyright: (C) 2022 Ziyang Xuan.
 // Comments: -
 // Options: --no-includes --include-headers
+// Version min: 5.15
 
 virtual patch
 virtual org