diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-19 13:19:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-19 13:28:29 (GMT) |
commit | 1ee1710cd6bbf49853688e97d6e1d98b48f28586 (patch) | |
tree | 98e70edfb6f72b559b49203f87c27eca477e0e9c /Documentation/hwmon/f71805f | |
parent | 733cbe069835d081c9e4bbfabb25597da472359c (diff) | |
download | linux-1ee1710cd6bbf49853688e97d6e1d98b48f28586.tar.xz |
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 'Documentation/hwmon/f71805f')
0 files changed, 0 insertions, 0 deletions