Re: [PATCH] ibmvscsi: Fix little endian issues

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

 



On Tue, 2013-09-03 at 10:04 +1000, Anton Blanchard wrote:
> The hypervisor is big endian, so little endian kernel builds need
> to byteswap.
>     
> Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>

You have two serious checkpatch errors in this:

ERROR: trailing whitespace
#57: FILE: drivers/scsi/ibmvscsi/ibmvscsi.c:469:
+^I^Ievt->crq.IU_data_ptr = cpu_to_be64(pool->iu_token + $

ERROR: do not use assignment in if condition
#128: FILE: drivers/scsi/ibmvscsi/ibmvscsi.c:926:
+       if ((rc = ibmvscsi_send_crq(hostdata,
be64_to_cpu(crq_as_u64[0]),




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