From: Mike Christie <michaelc@cs.wisc.edu>
To: David C Somayajulu <david.somayajulu@qlogic.com>
Cc: linux-scsi@vger.kernel.org, David Wagner <david.wagner@qlogic.com>
Subject: Re: [PATCH] qla4xxx: allow hba to be online when initiator ip address is uninitialized
Date: Thu, 14 Jun 2007 01:54:20 -0400 [thread overview]
Message-ID: <4670D80C.2090708@cs.wisc.edu> (raw)
In-Reply-To: <1181349436.8711.8.camel@q-iscsi-upstream.site>
David C Somayajulu wrote:
> On Fri, 2007-06-08 at 17:29 -0700, David C Somayajulu wrote:
>> This patch provides the following:
>> 1. remove warning ignoring the return value of pci_set_mwi()
>> 2. allows HBA to be online when the initiator ip address is uninitialized.
> Including
>
> Signed-off-by: David Somayajulu <david.somayajulu@qlogic.com>
>
> drivers/scsi/qla4xxx/ql4_init.c | 23 +++++++++++------------
> 1 files changed, 11 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/scsi/qla4xxx/ql4_init.c b/drivers/scsi/qla4xxx/ql4_init.c
> index d8c064c..1e29f51 100644
> --- a/drivers/scsi/qla4xxx/ql4_init.c
> +++ b/drivers/scsi/qla4xxx/ql4_init.c
> @@ -883,11 +883,12 @@ static int qla4xxx_config_nvram(struct s
> static void qla4x00_pci_config(struct scsi_qla_host *ha)
> {
> uint16_t w;
> + int status;
>
> dev_info(&ha->pdev->dev, "Configuring PCI space...\n");
>
> pci_set_master(ha->pdev);
> - pci_set_mwi(ha->pdev);
> + status = pci_set_mwi(ha->pdev);
It looks ok, but creating the status variable and setting it like this,
just to quiet the compile warning, and never doing anything else with it
doesn't seem nice.
next prev parent reply other threads:[~2007-06-14 6:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-09 0:29 [PATCH] qla4xxx: allow hba to be online when initiator ip address is uninitialized David C Somayajulu
2007-06-09 0:37 ` David C Somayajulu
2007-06-14 5:54 ` Mike Christie [this message]
2007-06-14 17:27 ` David C Somayajulu
2007-06-14 17:44 ` Andrew Vasquez
2007-06-14 17:54 ` Randy Dunlap
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=4670D80C.2090708@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=david.somayajulu@qlogic.com \
--cc=david.wagner@qlogic.com \
--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.