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] [day] [month] [year] [list]
Message-ID: <4F01D0F4.2070301@gmail.com>
Date:	Mon, 02 Jan 2012 07:44:52 -0800
From:	Dirk Brandewie <dirk.brandewie@...il.com>
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>,
	Olof Johansson <olof@...om.net>,
	"Mark M. Hoffman" <mhoffman@...htlink.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] i2c: Convert to DEFINE_PCI_DEVICE_TABLE

On 12/26/2011 07:34 PM, Axel Lin wrote:
> Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
> tables.
>
> 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
> ---
> This patch is against linux-next tree.
> Axel
>
>   drivers/i2c/busses/i2c-ali1563.c           |    2 +-
>   drivers/i2c/busses/i2c-ali15x3.c           |    2 +-
>   drivers/i2c/busses/i2c-amd756.c            |    2 +-
>   drivers/i2c/busses/i2c-amd8111.c           |    2 +-
>   drivers/i2c/busses/i2c-designware-pcidrv.c |    2 +-
>   drivers/i2c/busses/i2c-eg20t.c             |    2 +-
>   drivers/i2c/busses/i2c-hydra.c             |    2 +-
>   drivers/i2c/busses/i2c-i801.c              |    2 +-
>   drivers/i2c/busses/i2c-intel-mid.c         |    2 +-
>   drivers/i2c/busses/i2c-nforce2.c           |    2 +-
>   drivers/i2c/busses/i2c-pasemi.c            |    2 +-
>   drivers/i2c/busses/i2c-piix4.c             |    2 +-
>   drivers/i2c/busses/i2c-pxa-pci.c           |    2 +-
>   drivers/i2c/busses/i2c-sis5595.c           |    2 +-
>   drivers/i2c/busses/i2c-sis630.c            |    2 +-
>   drivers/i2c/busses/i2c-sis96x.c            |    2 +-
>   drivers/i2c/busses/i2c-via.c               |    2 +-
>   drivers/i2c/busses/i2c-viapro.c            |    2 +-
>   drivers/i2c/busses/scx200_acb.c            |    2 +-
>   19 files changed, 19 insertions(+), 19 deletions(-)
>

> diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
> index 9e89e73..37f4211 100644
> --- a/drivers/i2c/busses/i2c-designware-pcidrv.c
> +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
> @@ -349,7 +349,7 @@ static void __devexit i2c_dw_pci_remove(struct pci_dev *pdev)
>   /* work with hotplug and coldplug */
>   MODULE_ALIAS("i2c_designware-pci");
>
> -DEFINE_PCI_DEVICE_TABLE(i2_designware_pci_ids) = {
> +static DEFINE_PCI_DEVICE_TABLE(i2_designware_pci_ids) = {
>   	/* Moorestown */
>   	{ PCI_VDEVICE(INTEL, 0x0802), moorestown_0 },
>   	{ PCI_VDEVICE(INTEL, 0x0803), moorestown_1 },
Acked-by: Dirk Brandewie <dirk.brandewie@...il.com>
--
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