From: Joe Perches <joe@perches.com>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
linux-scsi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [RESEND] SCSI: ips: remove pointless #warning
Date: Tue, 19 May 2015 12:25:37 -0700 [thread overview]
Message-ID: <1432063537.2870.203.camel@perches.com> (raw)
In-Reply-To: <1432060697.14737.1.camel@HansenPartnership.com>
On Tue, 2015-05-19 at 11:38 -0700, James Bottomley wrote:
> On Tue, 2015-05-19 at 15:56 +0200, Arnd Bergmann wrote:
> > On Tuesday 19 May 2015 06:52:52 James Bottomley wrote:
> > > On Tue, 2015-05-19 at 15:33 +0200, Arnd Bergmann wrote:
> > > > The ips driver contains
> > > > #warning "This driver has only been tested on the x86/ia64/x86_64 platforms"
trivial:
> > My main interest here is to get a clean build of ARM 'allmodconfig'.
[]
> What about this? It captures the intent of the
> original but gets rid of the warning.
[]
> diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
[]
> @@ -6788,6 +6784,11 @@ ips_remove_device(struct pci_dev *pci_dev)
> static int __init
> ips_module_init(void)
> {
> +#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
> + printk(KERN_ERR, "ips: This driver has only been tested on the x86/ia64/x86_64 platforms\n");
Bad comma after KERN_ERR, and KERN_ALERT might be better.
WARNING: multiple messages have this Message-ID (diff)
From: joe@perches.com (Joe Perches)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [RESEND] SCSI: ips: remove pointless #warning
Date: Tue, 19 May 2015 12:25:37 -0700 [thread overview]
Message-ID: <1432063537.2870.203.camel@perches.com> (raw)
In-Reply-To: <1432060697.14737.1.camel@HansenPartnership.com>
On Tue, 2015-05-19 at 11:38 -0700, James Bottomley wrote:
> On Tue, 2015-05-19 at 15:56 +0200, Arnd Bergmann wrote:
> > On Tuesday 19 May 2015 06:52:52 James Bottomley wrote:
> > > On Tue, 2015-05-19 at 15:33 +0200, Arnd Bergmann wrote:
> > > > The ips driver contains
> > > > #warning "This driver has only been tested on the x86/ia64/x86_64 platforms"
trivial:
> > My main interest here is to get a clean build of ARM 'allmodconfig'.
[]
> What about this? It captures the intent of the
> original but gets rid of the warning.
[]
> diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
[]
> @@ -6788,6 +6784,11 @@ ips_remove_device(struct pci_dev *pci_dev)
> static int __init
> ips_module_init(void)
> {
> +#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
> + printk(KERN_ERR, "ips: This driver has only been tested on the x86/ia64/x86_64 platforms\n");
Bad comma after KERN_ERR, and KERN_ALERT might be better.
next prev parent reply other threads:[~2015-05-19 19:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 13:33 [PATCH] [RESEND] SCSI: ips: remove pointless #warning Arnd Bergmann
2015-05-19 13:33 ` Arnd Bergmann
2015-05-19 13:52 ` James Bottomley
2015-05-19 13:52 ` James Bottomley
2015-05-19 13:56 ` Arnd Bergmann
2015-05-19 13:56 ` Arnd Bergmann
2015-05-19 18:38 ` James Bottomley
2015-05-19 18:38 ` James Bottomley
2015-05-19 18:42 ` Arnd Bergmann
2015-05-19 18:42 ` Arnd Bergmann
2015-05-19 19:25 ` Joe Perches [this message]
2015-05-19 19:25 ` Joe Perches
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=1432063537.2870.203.camel@perches.com \
--to=joe@perches.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.