> Here is a patch that removes more compile warnings from 2.4.0-
> prerelease. I left out files that have been fixed by Alan or myself in
> the ac kernels. I'll add more options to my config tomorrow to try to
> find more of these warnings.
> -#endif I2C_PCF8584_H
> +#endif /* I2C_PCF8584_H */
[etc.]
Here, try this:
find -name "*.[ch]" | xargs perl -ne 'print "$ARGV:$_" if /#endif\s+\w/i'
You'll find a few hundred of them. Then try this (untested):
find -name "*.[ch]" |
xargs perl -i -pe 's/#endif\s+(\w.*)/#endif \/\* $1 \/\*/i'
..and save yourself quite a bit of tedium.
-- "Love the dolphins," she advised him. "Write by W.A.S.T.E.."- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/