[PATCH v6] coccinelle: misc: Add field_modify script

Markus Elfring Markus.Elfring at web.de
Thu Jun 26 00:43:12 PDT 2025


> +coccilib.report.print_report(p[0], "WARNING: Consider using FIELD_MODIFY helper on %s" % (x))

Would you find it a bit nicer to use also another formatted string literal
as a function call parameter?
(The recent code adjustment indicated something for the operation mode “org”.)
https://docs.python.org/3/reference/lexical_analysis.html#f-strings

Regards,
Markus



More information about the linux-arm-kernel mailing list