[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1386007657.2680.15.camel@joe-AO722>
Date: Mon, 02 Dec 2013 10:07:37 -0800
From: Joe Perches <joe@...ches.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Jonas Bonn <jonas@...thpole.se>, Jingoo Han <jg1.han@...sung.com>,
'Greg Kroah-Hartman' <gregkh@...uxfoundation.org>,
'Bjorn Helgaas' <bhelgaas@...gle.com>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
'Andrew Morton' <akpm@...ux-foundation.org>,
'Andy Whitcroft' <apw@...onical.com>,
linux-serial@...r.kernel.org
Subject: Re: [PATCH] pci/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE
On Mon, 2013-12-02 at 10:01 -0800, Guenter Roeck wrote:
> On Mon, Dec 02, 2013 at 09:43:37AM -0800, Joe Perches wrote:
> > Prefer use of the direct definition of struct pci_device_id
[]
> > +all-zero entry. Definitions with static const are generally preferred.
see here:
> Add 'const' ?
Also see $fix.
Not all can be const as some codes actually modify
the tables for various quirks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists