From: Jingoo Han <jg1.han@samsung.com>
To: "'David S. Miller'" <davem@davemloft.net>
Cc: 'Chas Williams' <chas@cmf.nrl.navy.mil>,
netdev@vger.kernel.org, linux-atm-general@lists.sourceforge.net,
'Francois Romieu' <romieu@fr.zoreil.com>,
'Jingoo Han' <jg1.han@samsung.com>
Subject: Re: [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro
Date: Thu, 28 Nov 2013 13:39:44 +0900 [thread overview]
Message-ID: <005701ceebf3$dc4ae840$94e0b8c0$%han@samsung.com> (raw)
In-Reply-To: <004501ceebeb$27dcd970$77968c50$%han@samsung.com>
On Thursday, November 28, 2013 12:37 PM, Jingoo Han wrote:
>
> This macro is used to create a struct pci_device_id array.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Please, ignore these patches.
According to the Greg Kroah-Hartman,
"Yeah, and it's a horrid macro that deserves to be removed, please don't
use it in more places.
Actually, if you could just remove it, that would be best, sorry, I'm
not going to take these patches."
So, I will send the patch to remove 'DEFINE_PCI_DEVICE_TABLE' instead.
Sorry for annoying. :-)
Best regards,
Jingoo Han
> ---
> drivers/atm/eni.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
> index b1955ba..846fc9e 100644
> --- a/drivers/atm/eni.c
> +++ b/drivers/atm/eni.c
> @@ -2283,7 +2283,7 @@ err_disable:
> }
>
>
> -static struct pci_device_id eni_pci_tbl[] = {
> +static DEFINE_PCI_DEVICE_TABLE(eni_pci_tbl) = {
> { PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_FPGA), 0 /* FPGA */ },
> { PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_ASIC), 1 /* ASIC */ },
> { 0, }
> --
> 1.7.10.4
next prev parent reply other threads:[~2013-11-28 4:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 3:37 [PATCH 1/8] atm: eni: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28 3:38 ` [PATCH 2/8] atm: fore200e: " Jingoo Han
2013-11-28 3:39 ` [PATCH 3/8] atm: he: " Jingoo Han
2013-11-28 3:40 ` [PATCH 4/8] atm: idt77252: " Jingoo Han
2013-11-28 3:41 ` [PATCH 5/8] atm: iphase: " Jingoo Han
2013-11-28 3:41 ` [PATCH 6/8] atm: lanai: " Jingoo Han
2013-11-28 3:42 ` [PATCH 7/8] atm: nicstar: " Jingoo Han
2013-11-28 3:43 ` [PATCH 8/8] atm: solos-pci: " Jingoo Han
2013-11-28 4:39 ` Jingoo Han [this message]
2013-11-28 20:48 ` [PATCH 1/8] atm: eni: " David Miller
2013-11-28 4:44 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005701ceebf3$dc4ae840$94e0b8c0$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=chas@cmf.nrl.navy.mil \
--cc=davem@davemloft.net \
--cc=linux-atm-general@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).