Re: pmcraid build problem on ppc64

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

 



I guess we don't need conversions cpu_to_le32 for these ones. I will make 
this change and send an update patch.

With regards,
  Anil

On Thu, 24 Sep 2009, James Bottomley wrote:

> I'm getting this in testing:
> 
> drivers/scsi/pmcraid.c: In function 'pmcraid_request_sense':
> drivers/scsi/pmcraid.c:2254: warning: large integer implicitly truncated
> to unsigned type
> drivers/scsi/pmcraid.c: In function 'pmcraid_build_ioadl':
> drivers/scsi/pmcraid.c:3020: warning: large integer implicitly truncated
> to unsigned type
> drivers/scsi/pmcraid.c: In function 'pmcraid_build_passthrough_ioadls':
> drivers/scsi/pmcraid.c:3390: warning: large integer implicitly truncated
> to unsigned type
> drivers/scsi/pmcraid.c: In function 'pmcraid_querycfg':
> drivers/scsi/pmcraid.c:5317: warning: large integer implicitly truncated
> to unsigned type
> 
> It's code like this:
> 
> 	ioadl->flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC);
> 
> But ->flags is only u8, so that cpu_to_le32() will cause the flag to be
> too big to fit on a BE architecture.
> 
> James
> 
> 
> 
--
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