]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fnic: Leftshift returned scsi_cmnd error code 16 bits
authorJason Luo <zhangqing.luo@oracle.com>
Thu, 17 Mar 2016 04:06:07 +0000 (12:06 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 21 Mar 2016 16:00:50 +0000 (09:00 -0700)
commit8399f932d6dedd0439d0be97df27bada9ff2b9e9
tree4d39894f835aec0fd8c1b29626c00b0cd9098f29
parent00988a4f089eaaf48c236721ce4d109426a40886
fnic: Leftshift returned scsi_cmnd error code 16 bits

From: Satish Kharat <satishkh@cisco.com>

The the scsi_cmnd error code is expected to be in the left 16 bits
of the result field. Change is to correct this.

Signed-off-by: Satish Kharat <satishkh@cisco.com>
Orabug: 22918200
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_scsi.c