Messages in this thread | | | Subject | Re: [RESEND PATCH] trivial: treewide: remove extra semicolon added by module_init/exit | From | Joe Perches <> | Date | Wed, 06 Jun 2012 07:47:42 -0700 |
| |
On Wed, 2012-06-06 at 17:02 +0300, Felipe Balbi wrote: > The definition of module_init() and module_exit() > already added the final semicolon creating a situation > where most of our drivers end up with two semicolons > at the end of every module_init()/module_exit() call. > > To fix that, we add missing semicolons to the places > which didn't have them and remove the semicolons from > the definition of module_init/module_exit. > > Patch generated with the following sed script: > > $ sed -i 's/^module_\(init\|exit\)\s*\((\w\+)\)$/module_\1\2;/g' \ > $(git ls-files)
I don't think that script works completely. It doesn't find the module_init in fs/autofs4/init.c
| |