Re: [PATCH] 2.6.25-rc6 initio senselen warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux