From: Wei Yongjun Date: Fri, 25 Oct 2013 09:34:03 +0000 (-0300) Subject: saa7164: fix return value check in saa7164_initdev() X-Git-Tag: v3.2.54~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47c55eb0a98d1f513f0bc1bc8065c7cc276c3335;p=pandora-kernel.git saa7164: fix return value check in saa7164_initdev() commit 89f4d45b2752df5d222b5f63919ce59e2d8afaf4 upstream. In case of error, the function kthread_run() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed