diff options
author | Asai Thambi S P <asamymuthupa@micron.com> | 2013-04-12 23:57:17 +0530 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-04-14 10:24:24 +0200 |
commit | 5a79e1ac21681907f8cc58e1f78fc40af5bbb890 (patch) | |
tree | cbe99ab653516db10fef76e4aba6dc4fc919102e /crypto/ctr.c | |
parent | cef5279735d3f6f0243e626963e6d5c84efade0a (diff) |
mtip32xx: fix a smatch warning
Reported smatch warning:
drivers/block/mtip32xx/mtip32xx.c:4163 mtip_block_shutdown() warn: variable dereferenced before check 'dd->disk' (see line 4159)
dd->disk->disk_name accessed before the check if dd->disk is NULL. Fixed this
and access of dd->queue/dd->disk->queue.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions