summaryrefslogtreecommitdiffstats
path: root/block/scsi_ioctl.c
diff options
context:
space:
mode:
authorChristophe Ricard2015-10-25 22:54:21 +0100
committerSamuel Ortiz2015-10-26 06:53:12 +0100
commitd8cd37ed2fc871c66b4c79c59f651dc2cdf7091c (patch)
tree4fcc84a67e9cc2c259ecf6e3cf34f5ff67e49722 /block/scsi_ioctl.c
parentNFC: nci: Fix incorrect data chaining when sending data (diff)
downloadkernel-qcow2-linux-d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c.tar.gz
kernel-qcow2-linux-d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c.tar.xz
kernel-qcow2-linux-d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c.zip
NFC: nci: Fix improper management of HCI return code
When sending HCI data over NCI, HCI return code is part of the NCI data. In order to get correctly the HCI return code, we assume the NCI communication is successful and extract the return code for the nci_hci functions return code. This is done because nci_to_errno does not match hci return code value. Cc: stable@vger.kernel.org Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions