From: Dan Carpenter Date: Sat, 26 Mar 2011 01:52:22 +0000 (-0300) Subject: [media] pvrusb2: check for allocation failures X-Git-Tag: v3.0-rc1~322^2~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cff593732fa5bdf07192be741a567b85a9c0cd3;p=pandora-kernel.git [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 Acked-By: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed