From: Alan Cox <alan@redhat.com>
To: Grant Grundler <grundler@parisc-linux.org>
Cc: linux-scsi@vger.kernel.org, Alan Cox <alan@redhat.com>
Subject: Re: [PATCH] 2.6.25-rc6 initio senselen warning
Date: Fri, 28 Mar 2008 06:08:59 -0400 [thread overview]
Message-ID: <20080328100859.GA12698@devserv.devel.redhat.com> (raw)
In-Reply-To: <20080328055143.GA27045@colo.lackof.org>
On Thu, Mar 27, 2008 at 11:51:43PM -0600, Grant Grundler wrote:
>
> Building initio on parisc with gcc-4.3 yielded this warning:
> drivers/scsi/initio.c:2585: warning: large integer implicitly truncated to unsigned type
>
> and the code was:
> cblk->senselen = cpu_to_le32(SENSE_SIZE);
>
> Given senselen is a u8, code is wrong.
>
> Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Acked-by: Alan Cox <alan@redhat.com>
prev parent reply other threads:[~2008-03-28 10:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 5:51 [PATCH] 2.6.25-rc6 initio senselen warning Grant Grundler
2008-03-28 10:08 ` Alan Cox [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=20080328100859.GA12698@devserv.devel.redhat.com \
--to=alan@redhat.com \
--cc=grundler@parisc-linux.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.