All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] using "attribute" in - context?
@ 2017-02-09 11:48 Johannes Berg
  2017-02-09 12:47 ` Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2017-02-09 11:48 UTC (permalink / raw)
  To: cocci

Is there a way to make this work?

@@
identifier fam;
attribute __ro_after_init;
attribute __genl_ro_after_init;
@@
?struct genl_family fam
- __ro_after_init
+ __genl_ro_after_init
?= {...};


Thanks,
johannes

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-09 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 11:48 [Cocci] using "attribute" in - context? Johannes Berg
2017-02-09 12:47 ` Julia Lawall
2017-02-09 13:03   ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.