Re: [PATCH 00/33] Input: Automated coccinelle cleanup

From: Guenter Roeck
Date: Thu Jan 19 2017 - 04:16:11 EST


On 01/18/2017 09:06 PM, Joe Perches wrote:
On Wed, 2017-01-18 at 21:04 -0800, Guenter Roeck wrote:
On 01/18/2017 05:42 PM, Joe Perches wrote:
On Wed, 2017-01-18 at 09:46 -0800, Guenter Roeck wrote:
The conversion was done automatically with coccinelle using several semantic
patches. The semantic patches and the scripts used to generate this commit
log are available at https://github.com/groeck/coccinelle-patches.

It'd be better to include the script in this 0/n patch
so that if github entry changes, the 0/n patch is useful.

For this set it would have been possible, though even the rules used here add
up to more than 1,000 lines.

How many errors do you think are in the script?
1000+ lines, likely there 10+ errors/defects.


Most of it is to limit the scope to ensure that there are none, so in this case
the argument is a bit self-defeating.

Guenter