]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usb: host: sl811-hcd: check kzalloc() result
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:15:06 +0000 (20:15 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:42 +0000 (14:35 -0700)
commit76be932af17ddebac1b4e3dd2565a0519eaa29ce
tree6ac071f899a4428050af38db8f523cac8c5533c7
parenta93917d39fc388c4761d2530af82513e2d3bf9f6
usb: host: sl811-hcd: check kzalloc() result

If kzalloc() fails exit with -ENOMEM.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/sl811-hcd.c