Files
linux/drivers/block
Bart Van Assche 4633504c1a skd: Make it easier for static analyzers to analyze skd_free_disk()
Although it is easy to see that skdev->disk != NULL if skdev->queue
!= NULL, add a test for skdev->disk to avoid that smatch reports the
following warning:

drivers/block/skd_main.c:3080 skd_free_disk()
         error: we previously assumed 'disk' could be null (see line 3074)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-08-25 15:29:43 -06:00
..
2017-02-22 11:54:49 -07:00
2017-07-06 12:23:51 -06:00
2017-08-23 08:54:02 -06:00
2017-06-08 08:40:00 -06:00
2017-04-19 09:10:51 -06:00
2017-08-17 11:02:59 -06:00
2017-08-25 14:52:01 -06:00
2017-02-20 12:16:15 +01:00
2017-08-18 08:45:29 -06:00
2017-08-18 08:36:58 -06:00