Re: [rfc] the kernel workflow & trivial "global -> static" patches (was: Re: [2.6 patch] make sched_feat_{names,open} static)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On Mon, May 05, 2008 at 02:26:04PM -0700, Andrew Morton wrote:

Not sure what is possible at the checkpatch level.

Adding -Wmissing-prototypes to the CFLAGS (which was my original 
motivation for doing these patches) would help much, but it's still a 
long road until I can propose it without being lynched for the warnings 
it still generates...

Or teach people to use sparse?

After all, this thread erupted on a patch against kernel/sched.c
that fixes something sparse also warns about.

I just tried running sparse against this file - looks scary...

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make sched_feat_{names,open} static, Adrian Bunk, (Mon May 5, 11:29 am)
Re: [rfc] the kernel workflow & trivial "global -> static" ..., Adrian Bunk, (Mon May 5, 2:45 pm)