summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorMichael Kelley <mikelley@microsoft.com>2021-06-04 20:21:03 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-16 05:21:44 +0300
commit52e1b3b3daa9d53f0204bf474ee1d4b1beb38234 (patch)
treeb1a10e63148ac46d456217032c7ffbdae704d9a9 /scripts/stackusage
parent08f76547f08d94f079c13c8031c46a69cd01edd6 (diff)
downloadlinux-52e1b3b3daa9d53f0204bf474ee1d4b1beb38234.tar.xz
scsi: storvsc: Correctly handle multiple flags in srb_status
Hyper-V is observed to sometimes set multiple flags in the srb_status, such as ABORTED and ERROR. Current code in storvsc_handle_error() handles only a single flag being set, and does nothing when multiple flags are set. Fix this by changing the case statement into a series of "if" statements testing individual flags. The functionality for handling each flag is unchanged. Link: https://lore.kernel.org/r/1622827263-12516-3-git-send-email-mikelley@microsoft.com Signed-off-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions