diff options
author | Niklas Cassel <cassel@kernel.org> | 2025-04-16 11:31:30 +0200 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2025-04-21 08:59:00 +0900 |
commit | f54464458d34141911047258090f25c67204cda4 (patch) | |
tree | 4ac37daab2d52df580658bfb5f876e1687c541b2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e8866e26f5e8ec551eec73dca1c30d458f9dca86 (diff) |
ata: libata-sata: Simplify sense_valid fetching
While the SENSE DATA VALID field in the ACS-6 specification is 47 bits,
we are currently only fetching 32 bits, because these are the only bits
that we care about (these bits represent the tags (which can be 0-31)).
Thus, replace the existing logic with a simple get_unaligned_le32().
While at it, change the type of sense_valid to u32.
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Igor Pylypiv <ipylypiv@google.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions