public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Meelis Roos <mroos@linux.ee>
Cc: james.smart@emulex.com, linux-scsi@vger.kernel.org
Subject: Re: lpfc warnings on sparc64
Date: Thu, 25 Sep 2008 08:36:48 -0700	[thread overview]
Message-ID: <1222357008.3610.12.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.SOC.4.64.0809251006540.6342@math.ut.ee>

On Thu, 2008-09-25 at 11:14 +0300, Meelis Roos wrote:
> Noticed this wgile compiling 2.6.27-rc7+git on sparc64 - maybe it is of 
> interest.
> 
>   CC [M]  drivers/scsi/lpfc/lpfc_sli.o
> drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli_poll_fcp_ring':
> drivers/scsi/lpfc/lpfc_sli.c:1365: warning: array subscript is above array bounds
> drivers/scsi/lpfc/lpfc_sli.c:1365: warning: array subscript is above array bounds
> drivers/scsi/lpfc/lpfc_sli.c: In function 'lpfc_sli_handle_fast_ring_event':
> drivers/scsi/lpfc/lpfc_sli.c:1541: warning: array subscript is above array bounds
> drivers/scsi/lpfc/lpfc_sli.c:1541: warning: array subscript is above array bounds

As best I can tell this is a bogus warning ... it triggers on x86 as
well, but I can't find any reason gcc should think there's an array
bounds error.

James



  reply	other threads:[~2008-09-25 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25  8:14 lpfc warnings on sparc64 Meelis Roos
2008-09-25 15:36 ` James Bottomley [this message]
2008-09-25 16:14   ` James Smart

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=1222357008.3610.12.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=james.smart@emulex.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mroos@linux.ee \
    /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