commit | 0cff593732fa5bdf07192be741a567b85a9c0cd3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Fri Mar 25 22:52:22 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri May 20 09:28:24 2011 -0300 |
tree | 8a02817ba8409f815a69a1a02f7cbd840a351a43 | |
parent | ce02704d48767bdd31eb0b804b1d45da5b683a8c [diff] |
[media] pvrusb2: check for allocation failures This function returns NULL on failure so lets do that if kzalloc() fails. There is a separate problem that the caller for this function doesn't check for errors... Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-By: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>