Prasad J Pandit 24dfa9fa2f scsi: avoid an off-by-one error in megasas_mmio_write
While reading magic sequence(MFI_SEQ) in megasas_mmio_write,
an off-by-one error could occur as 's->adp_reset' index is not
reset after reading the last sequence.

Reported-by: YY Z <bigbird475958471@gmail.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <20170424120634.12268-1-ppandit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-05-05 12:09:59 +02:00
..
2017-04-26 10:22:31 +01:00
2017-04-05 17:23:52 +02:00
2016-10-04 13:28:07 +01:00
2017-04-25 14:14:17 +01:00
2017-04-26 10:22:31 +01:00
2017-01-27 18:08:00 +01:00
2017-04-21 15:59:27 +01:00
2017-01-20 11:15:06 +00:00
2017-03-27 12:14:45 +02:00
2017-04-26 12:00:42 +10:00
2016-05-18 15:04:27 +03:00
2017-04-05 17:23:52 +02:00
2017-01-27 18:07:59 +01:00
2017-02-24 10:37:21 +00:00
2017-02-28 20:40:36 +01:00
2017-02-02 18:48:06 +00:00
2016-01-29 15:07:25 +00:00
2017-03-01 23:09:46 +00:00
2017-04-24 12:32:12 +01:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2017-04-26 10:22:31 +01:00
2017-04-21 15:59:27 +01:00
2017-04-25 11:04:34 -07:00