diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-20 10:11:57 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-31 02:16:45 (GMT) |
commit | e04f4b2debc84ab801ee26f0e4c1c99e3ac2bd04 (patch) | |
tree | 3afd603bb6bb6567f4ab8e6fc209af55e83ecd67 /drivers/ata/pata_rz1000.c | |
parent | d1b4a085fbd31d182a19f8a0c5144e4f5e831b8a (diff) | |
download | linux-e04f4b2debc84ab801ee26f0e4c1c99e3ac2bd04.tar.xz |
[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 <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/ata/pata_rz1000.c')
0 files changed, 0 insertions, 0 deletions