summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-pci.c
diff options
context:
space:
mode:
authorWei Yongjun2016-10-19 15:19:02 +0200
committerGreg Kroah-Hartman2016-10-19 15:28:29 +0200
commit1ee1710cd6bbf49853688e97d6e1d98b48f28586 (patch)
tree98e70edfb6f72b559b49203f87c27eca477e0e9c /drivers/usb/host/xhci-pci.c
parentMerge tag 'fixes-for-v4.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-qcow2-linux-1ee1710cd6bbf49853688e97d6e1d98b48f28586.tar.gz
kernel-qcow2-linux-1ee1710cd6bbf49853688e97d6e1d98b48f28586.tar.xz
kernel-qcow2-linux-1ee1710cd6bbf49853688e97d6e1d98b48f28586.zip
wusb: fix error return code in wusb_prf()
Fix to return error code -ENOMEM from the kmalloc() error handling case instead of 0, as done elsewhere in this function. Fixes: a19b882c07a6 ("wusb: Stop using the stack for sg crypto scratch space") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
0 files changed, 0 insertions, 0 deletions