diff options
| author | Julia Lawall <Julia.Lawall@inria.fr> | 2026-08-30 14:36:11 +0200 |
|---|---|---|
| committer | Julia Lawall <Julia.Lawall@inria.fr> | 2026-08-30 14:36:11 +0200 |
| commit | ef6a1dca8de41a408019310649e6d1b7b21ac4bc (patch) | |
| tree | 2621d06098801b297805a40f45d1f9221b0a3818 /scripts | |
| parent | f83b8a58695cbf419beaa3f63b9d3e264792d8ea (diff) | |
| download | linux-ef6a1dca8de41a408019310649e6d1b7b21ac4bc.tar.gz linux-ef6a1dca8de41a408019310649e6d1b7b21ac4bc.zip | |
coccinelle: ifnulldev_put: update error message
Update the report and org mode messages to reflect the new
function names.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/coccinelle/free/ifnulldev_put.cocci | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/coccinelle/free/ifnulldev_put.cocci b/scripts/coccinelle/free/ifnulldev_put.cocci index adb08252f98d..1430d68ff268 100644 --- a/scripts/coccinelle/free/ifnulldev_put.cocci +++ b/scripts/coccinelle/free/ifnulldev_put.cocci @@ -45,11 +45,11 @@ position p; p << r.p; @@ -cocci.print_main("NULL check before dev_{put, hold} functions is not needed", p) +cocci.print_main("NULL check before (net)dev_{put, hold} functions is not needed", p) @script:python depends on report@ p << r.p; @@ -msg = "WARNING: NULL check before dev_{put, hold} functions is not needed." +msg = "WARNING: NULL check before (net)dev_{put, hold} functions is not needed." coccilib.report.print_report(p[0], msg) |
