lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOesGMhtu0r4q8fTuG=zjQKPUG2qx48MOz-MRnymYTAf_=QGCQ@mail.gmail.com>
Date:	Wed, 28 Dec 2011 13:06:58 -0800
From:	Olof Johansson <olof@...om.net>
To:	Axel Lin <axel.lin@...il.com>
Cc:	linux-kernel@...r.kernel.org, Rudolf Marek <r.marek@...embler.cz>,
	"Jean Delvare (PC drivers, core)" <khali@...ux-fr.org>,
	"Ben Dooks (embedded platforms)" <ben-linux@...ff.org>,
	"Mark M. Hoffman" <mhoffman@...htlink.com>,
	Dirk Brandewie <dirk.brandewie@...il.com>,
	Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>,
	Wolfram Sang <w.sang@...gutronix.de>,
	Feng Tang <feng.tang@...el.com>,
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
	linux-i2c@...r.kernel.org
Subject: Re: [PATCH RESEND] i2c: Convert to DEFINE_PCI_DEVICE_TABLE

On Wed, Dec 28, 2011 at 4:48 AM, Axel Lin <axel.lin@...il.com> wrote:
> Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
> tables.
>
> Use DEFINE_PCI_DEVICE_TABLE ensures we make the pci_device_id table const
> and marked as __devinitconst.
>
> This also fixes some warnings from checkpatch:
> e.g.
> WARNING: Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id
> #1096: FILE: i2c/busses/i2c-intel-mid.c:1096:
> +static struct pci_device_id intel_mid_i2c_ids[] = {
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> Cc: Rudolf Marek <r.marek@...embler.cz>
> Cc: Jean Delvare <khali@...ux-fr.org>
> Cc: Ben Dooks <ben-linux@...ff.org>
> Cc: Olof Johansson <olof@...om.net>
> Cc: "Mark M. Hoffman" <mhoffman@...htlink.com>
> Cc: Dirk Brandewie <dirk.brandewie@...il.com>
> Cc: Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
> Cc: Wolfram Sang <w.sang@...gutronix.de>
> Cc: Feng Tang <feng.tang@...el.com>
> Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> Cc: linux-i2c@...r.kernel.org

Acked-by: Olof Johansson <olof@...om.net> [PA Semi portion]
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ