Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1548931

Auto-conversion of watchdog drivers to use devm functions

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject Auto-conversion of watchdog drivers to use devm functions
Date 2017-01-02 01:00 +0100
Message-ID <sUYcF-6WC-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Wim,

With heavy support by Julia Lawall, I created a number of coccinelle scripts
to auto-convert watchdog platform drivers to use devm functions. The result
is quite impressive - many drivers won't even need remove functions anymore
after the conversion.

Question is now how to submit the patches. There are 12 rule files affecting
a total of 62 drivers. Should I submit one patch per driver (62 patches),
one patch per rule (12), or one patch per rule file per driver (183) ?

Also, how should I refer to the rules ? The total number of rule lines
is more than 1,000, which seems to be a bit much for the commit log (even
though not all rules apply to all files).

Thanks,
Guenter

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Auto-conversion of watchdog drivers to use devm functions Guenter Roeck <linux@roeck-us.net> - 2017-01-02 01:00 +0100

csiph-web