[Cocci] Adjustment for const qualification

SF Markus Elfring elfring at users.sourceforge.net
Wed Aug 15 10:55:52 CEST 2018


> https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/tree/patches/0027-genl-const/genl-const.cocci

How do you think about to try the following SmPL script variant out?

@replacement@
@@
-const
+__genl_const
 struct
(
 genl_multicast_group
|genl_ops
)


Regards,
Markus


More information about the Cocci mailing list