diff options
author | Christophe JAILLET | 2017-08-25 07:22:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-08-28 11:44:39 +0200 |
commit | 49ca2eff5758eb73cc906dbea74ce54b7c99e4d1 (patch) | |
tree | 1162ce19f3f62298e4b7f353141c1801ac900e4e /firmware | |
parent | usb: Add device quirk for Logitech HD Pro Webcam C920-C (diff) | |
download | kernel-qcow2-linux-49ca2eff5758eb73cc906dbea74ce54b7c99e4d1.tar.gz kernel-qcow2-linux-49ca2eff5758eb73cc906dbea74ce54b7c99e4d1.tar.xz kernel-qcow2-linux-49ca2eff5758eb73cc906dbea74ce54b7c99e4d1.zip |
usb: chipidea: usb2: check memory allocation failure
Check memory allocation failure and return -ENOMEM in such a case, as
already done few lines below for another memory allocation.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions