From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guan Xuetao Subject: Re: [PATCH] PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. Date: Mon, 13 Jun 2011 17:00:44 +0800 Message-ID: <1307955644.1878.5.camel@epip-laptop> References: <20110610143021.GA26043@linux-mips.org> Reply-To: gxt@mprc.pku.edu.cn Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110610143021.GA26043@linux-mips.org> Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Ralf Baechle Cc: Jesse Barnes , linux-pci@vger.kernel.org, Anton Vorontsov , Chris Metcalf , Colin Cross , "David S. Miller" , Eric Miao , Erik Gilling , "H. Peter Anvin" , Imre Kaloz , Ingo Molnar , Ivan Kokshaysky , Krzysztof Halasa , Lennert Buytenhek , Matt Turner , Nicolas Pitre , Olof Johansson , Paul Mundt , Richard Henderson , Russell King , Thomas Gleixner On Fri, 2011-06-10 at 15:30 +0100, Ralf Baechle wrote: > Aside of the usual motivation for constification, this function has a > history of being abused a hook for interrupt and other fixups so I turned > this function const ages ago in the MIPS code but it should be done > treewide. > > Due to function pointer passing in varous places a few other functions > had to be constified as well. > > Signed-off-by: Ralf Baechle > To: Anton Vorontsov > To: Chris Metcalf > To: Colin Cross > To: "David S. Miller" > To: Eric Miao > To: Erik Gilling > To: Guan Xuetao > To: "H. Peter Anvin" > To: Imre Kaloz > To: Ingo Molnar > To: Ivan Kokshaysky > To: Jesse Barnes > To: Krzysztof Halasa > To: Lennert Buytenhek > To: Matt Turner > To: Nicolas Pitre > To: Olof Johansson > To: Paul Mundt > To: Richard Henderson > To: Russell King > To: Thomas Gleixner > Cc: Andrew Morton > Cc: linux-alpha@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-mips@linux-mips.org > Cc: linux-pci@vger.kernel.org > Cc: linux-sh@vger.kernel.org > Cc: linux-tegra@vger.kernel.org > Cc: sparclinux@vger.kernel.org > Cc: x86@kernel.org > --- For UniCore32 related codes: Acked-by: Guan Xuetao