mtip32xx: uninitialized variable in mtip_quiesce_io()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Nov 2011 11:59:00 +0000 (12:59 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Nov 2011 11:59:00 +0000 (12:59 +0100)
commit3e54a3d1b83220d748f1a27c8999634be7a83949
tree46807ff2423c3679cc40cc42d71ab6a9509de992
parent60ec0eecfa8968d0f1188e3730979196ac28b9de
mtip32xx: uninitialized variable in mtip_quiesce_io()

We recently introduce new continue in the loop which make gcc complain.
In theory if MTIP_FLAG_SVC_THD_ACTIVE_BIT is set, we could hit continue
over and over until eventually we time out of the loop.  In that case
"active" should be set as true, but right now it's uninitialized.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c