public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian King <brking@linux.vnet.ibm.com>
To: Paul Mackerras <paulus@samba.org>
Cc: linux-scsi@vger.kernel.org, sfr@canb.auug.org.au
Subject: Re: [PATCH] scsi: Eliminate compile warning in ibmvfc.c
Date: Mon, 17 Nov 2008 10:56:16 -0600	[thread overview]
Message-ID: <4921A230.9010508@linux.vnet.ibm.com> (raw)
In-Reply-To: <18707.45838.704492.589455@cargo.ozlabs.ibm.com>

Paul Mackerras wrote:
> Recent gcc (4.3.2) gives this compile warning on
> drivers/scsi/ibmvscsi/ibmvfc.o:
> 
>   CC      drivers/scsi/ibmvscsi/ibmvfc.o
> .../drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_reset_device':
> .../drivers/scsi/ibmvscsi/ibmvfc.c:1630: warning: 'evt' may be used uninitialized in this function

There is a patch already queued up in scsi-misc to fix this as well:

http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commitdiff;h=eaf5d80a9e7fae4de7f899fd5efc8f3e9f49efa6

-Brian

-- 
Brian King
Linux on Power Virtualization
IBM Linux Technology Center



      reply	other threads:[~2008-11-17 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07  3:16 [PATCH] scsi: Eliminate compile warning in ibmvfc.c Paul Mackerras
2008-11-17 16:56 ` Brian King [this message]

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=4921A230.9010508@linux.vnet.ibm.com \
    --to=brking@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=sfr@canb.auug.org.au \
    /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