]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dvb-frontends: fix potential NULL pointer dereference in stv0900_set_mclk()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 8 Oct 2012 11:35:56 +0000 (08:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Oct 2012 18:20:26 +0000 (16:20 -0200)
commit20139e1fdd582b04393e8654cc1a5f1241183459
treee1f36f99a442a133b09a181d2a8e13d3afdaa6fa
parentb5d37a3a42ee61895ef0dd635c2668b6848a2bb7
[media] dvb-frontends: fix potential NULL pointer dereference in stv0900_set_mclk()

The dereference should be moved below the NULL test.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/stv0900_core.c