mpt2sas: issue_reset is uninitialized
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Dec 2014 10:56:10 +0000 (13:56 +0300)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 Jan 2015 14:44:22 +0000 (15:44 +0100)
commitc51e3a4fc45dab1b96159f02a610cccf58d1cfe3
tree193b722e8e7eb02199fe17ab5831bb0917c8539a
parent2195d9690464445d0c30ee8170030a8e696f2053
mpt2sas: issue_reset is uninitialized

The "issue_reset" variable can be used uninitialized.  It should be set
to false at the start.

Also I cleaned up the types by using bool.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/mpt2sas/mpt2sas_base.c