From: Wei Yongjun Date: Fri, 25 Oct 2013 09:34:03 +0000 (-0300) Subject: [media] saa7164: fix return value check in saa7164_initdev() X-Git-Tag: v3.13-rc4~25^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89f4d45b2752df5d222b5f63919ce59e2d8afaf4;p=pandora-kernel.git [media] saa7164: fix return value check in saa7164_initdev() 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 Cc: stable@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed