login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: <mingo@...>, <a.p.zijlstra@...>, <linux-kernel@...>, <torvalds@...>, <sam@...>, <viro@...>, <hpa@...>, Andy Whitcroft <apw@...>
Date: Monday, May 5, 2008 - 5:26 pm

On Tue, 6 May 2008 00:07:12 +0300
Adrian Bunk <bunk@kernel.org> wrote:


That would be quite a bother.

I do think that we should aim to get these things fixed _before_ the
offending patches get into mainline.  It's dopey to append a sprinkle of
fixups against any particular patch after it has hit mainline when we have
the tools to fix those things up beforehand.

And it'd help to educate submitters to check their own stuff.  So when
these post-facto fixups are prepared then it is good to rub people's
noses^W^W^Wgently remind submitters about the problems in their work.
Probably you are already doing this.



Actually, we could perhaps do a lot of this at the checkpatch level?  If
checkpatch sees a global symbol being added and the same patch does not add
references to that symbol from a different file then whine.  Obviously this
will generate false positives but that's OK.
--
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, 2:29 pm)
Re: [rfc] the kernel workflow & trivial "global -> st..., Andrew Morton, (Mon May 5, 5:26 pm)
speck-geostationary