Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Staging: rtl8192u: check return code kmalloc.
This patch checks the return code of kmalloc when trying to allocate memory for priv->rx_urb in rtl8192_usb_initendpoints(), return -ENOMEM when failed. Signed-off-by: David Chosrova <david.chosrova@libertysurf.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information