summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-12-29 14:30:06 +0300
committerDanilo Krummrich <dakr@kernel.org>2025-12-29 14:30:53 +0300
commit7bf97992afa4e815f4ed84638340e2a93de65504 (patch)
tree79eba63468803b3a36685e8ea4982d8842ce1887 /scripts
parentd43a12e474351161bb6d7e2a17ab56f591b9302d (diff)
parentf8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da (diff)
downloadlinux-7bf97992afa4e815f4ed84638340e2a93de65504.tar.xz
Merge tag 'v6.19-rc3' into driver-core-next
We need the driver-core fixes in here as well to build on top of. Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/coccicheck6
-rw-r--r--scripts/coccinelle/api/pm_runtime.cocci2
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/coccicheck b/scripts/coccicheck
index 0e6bc5a10320..89d591af5f3e 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -270,7 +270,11 @@ fi
if [ "$COCCI" = "" ] ; then
for f in `find $srctree/scripts/coccinelle/ -name '*.cocci' -type f | sort`; do
- coccinelle $f
+ if grep -q "virtual[[:space:]]\+$MODE" "$f"; then
+ coccinelle $f
+ else
+ echo "warning: Skipping $f as it does not match mode '$MODE'"
+ fi
done
else
coccinelle $COCCI
diff --git a/scripts/coccinelle/api/pm_runtime.cocci b/scripts/coccinelle/api/pm_runtime.cocci
index bf128ccae921..b720489418fa 100644
--- a/scripts/coccinelle/api/pm_runtime.cocci
+++ b/scripts/coccinelle/api/pm_runtime.cocci
@@ -109,5 +109,5 @@ p2 << r.p2;
pm_runtime_api << r.pm_runtime_api;
@@
-msg = "%s returns < 0 as error. Unecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
+msg = "%s returns < 0 as error. Unnecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
coccilib.report.print_report(p1[0],msg)