mirror of
https://github.com/torvalds/linux.git
synced 2026-09-12 12:34:02 +02:00
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>
This commit is contained in:
parent
f83b8a5869
commit
ef6a1dca8d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user