From: Hans de Goede Date: Fri, 19 Feb 2010 07:41:40 +0000 (-0300) Subject: V4L/DVB: gspca_main: some input error handling fixes X-Git-Tag: v2.6.34-rc1~280^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ee2402004d03b31555aad7badf7e499fa686d3;p=pandora-kernel.git V4L/DVB: gspca_main: some input error handling fixes 2 small changes to input device error handling: 1) Make it fatal when we fail to create an input device (it is either this or add checks for gspca_dev->input_dev being NULL in a lot of places) 2) Since we allow gspca_input_create_urb() to fail everywhere we call it, and thus never check its return value, make it void. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed