alistair23-linux/drivers/block/mtip32xx
Asai Thambi S P 5a79e1ac21 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>
2013-04-14 10:24:24 +02:00
..
Kconfig drivers/block/mtip32xx: add missing GENERIC_HARDIRQS dependency 2013-02-07 07:37:29 +01:00
Makefile block: Add driver for Micron RealSSD pcie flash cards 2011-11-05 08:35:10 +01:00
mtip32xx.c mtip32xx: fix a smatch warning 2013-04-14 10:24:24 +02:00
mtip32xx.h mtip32xx: add trim support 2013-01-11 14:41:34 +01:00