linux-mips
[Top] [All Lists]

Re: [PATCH] PCI: Make the struct pci_dev * argument of pci_fixup_irqs co

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
From: Guan Xuetao <gxt@mprc.pku.edu.cn>
Date: Mon, 13 Jun 2011 17:00:44 +0800
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>, linux-pci@vger.kernel.org, Anton Vorontsov <avorontsov@mvista.com>, Chris Metcalf <cmetcalf@tilera.com>, Colin Cross <ccross@android.com>, "David S. Miller" <davem@davemloft.net>, Eric Miao <eric.y.miao@gmail.com>, Erik Gilling <konkers@android.com>, "H. Peter Anvin" <hpa@zytor.com>, Imre Kaloz <kaloz@openwrt.org>, Ingo Molnar <mingo@redhat.com>, Ivan Kokshaysky <ink@jurassic.park.msu.ru>, Krzysztof Halasa <khc@pm.waw.pl>, Lennert Buytenhek <kernel@wantstofly.org>, Matt Turner <mattst88@gmail.com>, Nicolas Pitre <nico@fluxnic.net>, Olof Johansson <olof@lixom.net>, Paul Mundt <lethal@linux-sh.org>, Richard Henderson <rth@twiddle.net>, Russell King <linux@arm.linux.org.uk>, Thomas Gleixner <tglx@linutronix.de>, Andrew Morton <akpm@linux-foundation.org>, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, linux-sh@vger.kernel.org, linux-tegra@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org
In-reply-to: <20110610143021.GA26043@linux-mips.org>
Organization: MPRC, PKU
References: <20110610143021.GA26043@linux-mips.org>
Reply-to: gxt@mprc.pku.edu.cn
Sender: linux-mips-bounce@linux-mips.org
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 <ralf@linux-mips.org>
> To: Anton Vorontsov <avorontsov@mvista.com>
> To: Chris Metcalf <cmetcalf@tilera.com>
> To: Colin Cross <ccross@android.com>
> To: "David S. Miller" <davem@davemloft.net>
> To: Eric Miao <eric.y.miao@gmail.com>
> To: Erik Gilling <konkers@android.com>
> To: Guan Xuetao <gxt@mprc.pku.edu.cn>
> To: "H. Peter Anvin" <hpa@zytor.com>
> To: Imre Kaloz <kaloz@openwrt.org>
> To: Ingo Molnar <mingo@redhat.com>
> To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
> To: Jesse Barnes <jbarnes@virtuousgeek.org>
> To: Krzysztof Halasa <khc@pm.waw.pl>
> To: Lennert Buytenhek <kernel@wantstofly.org>
> To: Matt Turner <mattst88@gmail.com>
> To: Nicolas Pitre <nico@fluxnic.net>
> To: Olof Johansson <olof@lixom.net>
> To: Paul Mundt <lethal@linux-sh.org>
> To: Richard Henderson <rth@twiddle.net>
> To: Russell King <linux@arm.linux.org.uk>
> To: Thomas Gleixner <tglx@linutronix.de>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> 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 <gxt@mprc.pku.edu.cn>



<Prev in Thread] Current Thread [Next in Thread>