Re: [PATCH] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-09-11 Thread Martin K. Petersen
Dan, > We should first do the le16_to_cpu endian conversion and then apply > the FCP_CMD_LENGTH_MASK mask. Applied to 4.19/scsi-fixes, thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-09-10 Thread Madhani, Himanshu
> On Sep 8, 2018, at 1:42 AM, Dan Carpenter wrote: > > External Email > > We should first do the le16_to_cpu endian conversion and then apply > the FCP_CMD_LENGTH_MASK mask. > > Fixes: 5f35509db179 ("qla2xxx: Terminate exchange if corrupted") > Signed-off-by: Dan Carpenter > --- > I just hap

Re: [PATCH] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-09-10 Thread Tran, Quinn
r.kernel.org" , "Madhani, Himanshu" , "kernel-janit...@vger.kernel.org" Subject: [PATCH] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted() External Email We should first do the le16_to_cpu endian conversion and then apply the FCP_CMD_LENGTH_

[PATCH] scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()

2018-09-08 Thread Dan Carpenter
We should first do the le16_to_cpu endian conversion and then apply the FCP_CMD_LENGTH_MASK mask. Fixes: 5f35509db179 ("qla2xxx: Terminate exchange if corrupted") Signed-off-by: Dan Carpenter --- I just happened to spot this when I was reviewing something unrelated. I don't have the hardware to t