diff options
| author | Michael Kelley <[email protected]> | 2021-06-04 10:21:03 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-06-15 22:21:44 -0400 |
| commit | 52e1b3b3daa9d53f0204bf474ee1d4b1beb38234 (patch) | |
| tree | b1a10e63148ac46d456217032c7ffbdae704d9a9 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 08f76547f08d94f079c13c8031c46a69cd01edd6 (diff) | |
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/[email protected]
Signed-off-by: Michael Kelley <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions