From: Matthew Wilcox Date: Fri, 31 Aug 2007 14:03:33 +0000 Subject: Re: [PATCH] trivial - constify sched.h Message-Id: <20070831140332.GB14130@parisc-linux.org> List-Id: References: <1188247231.18004.129.camel@localhost> <20070827213323.GA1759@martell.zuzino.mipt.ru> <20070831135323.GA24509@infradead.org> In-Reply-To: <20070831135323.GA24509@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Hellwig , Jan Engelhardt , Satyam Sharma , Alexey Dobriyan , Joe Perches , Ingo Molnar , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On Fri, Aug 31, 2007 at 02:53:23PM +0100, Christoph Hellwig wrote: > On Thu, Aug 30, 2007 at 10:55:49PM +0200, Jan Engelhardt wrote: > > "those callers". There was _exactly one_ caller, and that was an out-of-tree > > module. There were not any in-kernel callers before, and it did not generate > > any warning. That is perhaps why no one had constified it before me. This does > > not mean we should wait for a caller to pop up before constifying IMHO. > > In this case we should just kill it instead of messing with constness. I think Jan mis-spoke -- there were no in-kernel callers calling it with a const argument. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."