[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180314114948.GA25368@kroah.com>
Date: Wed, 14 Mar 2018 12:49:48 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Richard Leitner <richard.leitner@...data.com>
Cc: Richard Leitner <dev@...l1n.net>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
mathias.nyman@...el.com, bhelgaas@...gle.com
Subject: Re: [PATCH 2/3] usb: host: pci: introduce PCI vendor ID for Netlogic
On Wed, Mar 14, 2018 at 12:36:17PM +0100, Richard Leitner wrote:
>
> On 03/14/2018 11:48 AM, Greg KH wrote:
> > On Wed, Mar 14, 2018 at 11:29:32AM +0100, Richard Leitner wrote:
> >> From: Richard Leitner <richard.leitner@...data.com>
> >>
> >> Replace the hardcoded PCI vendor ID of Netlogic with a definition in
> >> pci_ids.h
> >
> > Why? It's only being used in one file, so it should not be in
> > pci_ids.h, right?
>
> It's also used as PCI_VENDOR_NETLOGIC in arch/mips/netlogic/xlp/.
>
> Should this be replaced with PCI_VENDOR_ID_NETLOGIC from pci_ids.h?
Yes, if you are going to add it to pci_ids.h, it had better be used by
multiple files, otherwise it does not belong in there.
thanks,
greg k-h
Powered by blists - more mailing lists