From: Sergey Vlasov Date: Fri, 7 Apr 2006 13:04:56 +0000 (-0300) Subject: V4L/DVB (3738): Saa7134: Fix oops with disable_ir=1 X-Git-Tag: v2.6.17-rc5~31^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a766f9ddd74b50d6069f054a3004ece0439f5c1;p=pandora-kernel.git V4L/DVB (3738): Saa7134: Fix oops with disable_ir=1 When disable_ir=1 parameter is used, or when saa7134_input_init1() fails for any other reason, dev->remote will remain NULL, and the driver will oops in saa7134_hwinit2(). Therefore dev->remote must be checked before dereferencing. Signed-off-by: Sergey Vlasov Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed