Skip to content
Commit bc6ac5e8 authored by Tomas Henzl's avatar Tomas Henzl Committed by Christoph Hellwig
Browse files

megaraid_sas: fix a small problem when reading state value from hw



When the driver reads state values from the hw it might happen that
different values are read in subsequent reads and this can cause problems,
this may lead to a timeout in this function and a non working adapter.

Cc: Adam Radford <aradford@gmail.com>

Signed-off-by: default avatarTomas Henzl <thenzl@redhat.com>
Reviewed-by: default avatarShintaro Minemoto <fj3207hq@aa.jp.fujitsu.com>
Acked-by: default avatarSumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent d6d211db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment