From: Dan Carpenter Date: Fri, 20 Jul 2012 10:11:57 +0000 (-0300) Subject: [media] dib8000: move dereference after check for NULL X-Git-Tag: v3.6-rc1~28^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04f4b2debc84ab801ee26f0e4c1c99e3ac2bd04;p=pandora-kernel.git [media] dib8000: move dereference after check for NULL My static checker complains that we dereference "state" inside the call to fft_to_mode() before checking for NULL. The comments say that it is possible for "state" to be NULL so I have moved the dereference after the check. Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed