mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
Staging: tm6000: check usb_alloc_urb() return
usb_alloc_urb() can return NULL so check for that and return -ENOMEM if it happens. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b01627c608
commit
2591418bb1
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue