> Sorry, I missed this comment.  I just make a patch on the whole Linux 
> source tree, and then cut them up by hand afterwards.  This is somewhat of 
> a trial and error process, though, because my guess as to what patches 
> on what files should go together does not always correspond to reality.  
> Is there a tool like get_maintainers for breaking up a patch according to 
> the MAINTAINERS list?

I doubt such a tool exists yet, but one could reuse some parts of
get_maintainers, especially parsing the F:-tags from MAINTAINERS.

I think I will try something like this after rc1 for my current semantic patch:

- grep for directories where 'i2c_clientdata' is used
- run spatch on that directory
- prepend a standard description + output of get_maintainers to the patch
- check if all made sense :)

This should be reasonably fast and should not involve too much doing by hand
(fingers crossed).

Thank you for fixing the issues I mentioned!

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to