All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] semantic patch feasibility
@ 2014-04-25 12:32 Javier Martinez Canillas
  2014-04-25 14:30 ` SF Markus Elfring
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Javier Martinez Canillas @ 2014-04-25 12:32 UTC (permalink / raw)
  To: cocci

Hello,

I'm a Linux kernel developer doing a big refactoring on the GPIO subsytem.

I was wondering if the change I'm doing manually could be automated by
using cocinelle but I've no experience neither writing semantic
patches nor the SmPL language grammar.

So I wanted to ask people familiar with cocinelle whether is feasible
or not to model my change as a semantic patch so I can start reading
cocinelle papers and looking at examples or if is too complex for
cocinelle then I'll continue grepping and manually change as I've been
doing so far.

I'm sending as an attachment a very incomplete patch so you can get an
idea of the type of refactoring that I'm ding.

Thanks a lot for your help and best regards,
Javier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gpio-add-struct-gpio_chip_ops-to-abstract-GPIO-contr.patch
Type: text/x-patch
Size: 55538 bytes
Desc: not available
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20140425/6da5b328/attachment-0001.bin>

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

end of thread, other threads:[~2014-04-26 16:31 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-25 12:32 [Cocci] semantic patch feasibility Javier Martinez Canillas
2014-04-25 14:30 ` SF Markus Elfring
2014-04-25 16:24   ` Julia Lawall
2014-04-25 16:31     ` SF Markus Elfring
2014-04-25 18:03       ` Julia Lawall
2014-04-25 18:50         ` Javier Martinez Canillas
2014-04-25 21:28           ` Julia Lawall
2014-04-25 22:02             ` Javier Martinez Canillas
2014-04-25 18:39     ` Javier Martinez Canillas
2014-04-25 18:33   ` Javier Martinez Canillas
2014-04-25 20:52     ` SF Markus Elfring
2014-04-25 21:30       ` Julia Lawall
2014-04-25 21:31     ` Julia Lawall
2014-04-25 16:23 ` Julia Lawall
2014-04-25 18:37   ` Javier Martinez Canillas
2014-04-25 21:25     ` Julia Lawall
2014-04-25 21:58       ` Javier Martinez Canillas
2014-04-26  5:11         ` Julia Lawall
2014-04-26  8:30         ` SF Markus Elfring
2014-04-26 14:06           ` Javier Martinez Canillas
2014-04-26 15:52             ` [Cocci] Extract an interface with SmPL SF Markus Elfring
2014-04-26 16:06               ` Julia Lawall
2014-04-26 16:31                 ` Javier Martinez Canillas
2014-04-26 10:59     ` [Cocci] semantic patch feasibility Julia Lawall
2014-04-25 16:34 ` Wolfram Sang

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.