aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNiklas Cassel <cassel@kernel.org>2025-04-16 11:31:30 +0200
committerDamien Le Moal <dlemoal@kernel.org>2025-04-21 08:59:00 +0900
commitf54464458d34141911047258090f25c67204cda4 (patch)
tree4ac37daab2d52df580658bfb5f876e1687c541b2 /tools/perf/scripts/python/export-to-postgresql.py
parentata: libata-core: Simplify ata_print_version_once (diff)
downloadlinux-rng-f54464458d34141911047258090f25c67204cda4.tar.xz
linux-rng-f54464458d34141911047258090f25c67204cda4.zip
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 '')
0 files changed, 0 insertions, 0 deletions