[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v3 16/27] Mips/MSI: Save msi chip in pci sysdata
- To: Yijing Wang <wangyijing@xxxxxxxxxx>
- From: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
- Date: Sat, 25 Oct 2014 15:04:28 +0200
- Cc: linux-mips@xxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-pci@xxxxxxxxxxxxxxx, Bharat.Bhushan@xxxxxxxxxxxxx, Thierry Reding <thierry.reding@xxxxxxxxx>, sparclinux@xxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, Russell King <linux@xxxxxxxxxxxxxxxx>, Michael Ellerman <mpe@xxxxxxxxxxxxxx>, Joerg Roedel <joro@xxxxxxxxxx>, x86@xxxxxxxxxx, Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, arnab.basu@xxxxxxxxxxxxx, Liviu Dudau <liviu@xxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Chris Metcalf <cmetcalf@xxxxxxxxxx>, Bjorn Helgaas <bhelgaas@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>, Xinwei Hu <huxinwei@xxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, David Vrabel <david.vrabel@xxxxxxxxxx>, Wuyun <wuyun.wu@xxxxxxxxxx>, linuxppc-dev@xxxxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>, Lucas Stach <l.stach@xxxxxxxxxxxxxx>
- Delivery-date: Sat, 25 Oct 2014 13:05:21 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On Wed, Oct 15, 2014 at 11:07:04AM +0800, Yijing Wang wrote:
> +static inline struct msi_chip *pci_msi_chip(struct pci_bus *bus)
> +{
> + struct pci_controller *control = (struct pci_controller *)bus->sysdata;
bus->sysdata is void * so this cast is unnecessary.
Ralf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|