From: Asai Thambi S P Date: Fri, 12 Apr 2013 18:27:17 +0000 (+0530) Subject: mtip32xx: fix a smatch warning X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~10^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a79e1ac21681907f8cc58e1f78fc40af5bbb890;p=pandora-kernel.git 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 Signed-off-by: Asai Thambi S P Signed-off-by: Jens Axboe --- Reading git-diff-tree failed