[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Remove more compile warnings in 2.4.0-prerelease
    On Tue, 2 Jan 2001, Rich Baum wrote:

    > 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 */

    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
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.020 / U:57.668 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site