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:31 +0200
committerDamien Le Moal <dlemoal@kernel.org>2025-04-21 08:59:07 +0900
commitecd9ecc75d150b82a832eb7aaa9b7b983fea5271 (patch)
tree09fae4266785a1b55b37f414d7e478af3c8418b6 /tools/perf/scripts/python/export-to-postgresql.py
parentata: libata-sata: Simplify sense_valid fetching (diff)
downloadlinux-rng-ecd9ecc75d150b82a832eb7aaa9b7b983fea5271.tar.xz
linux-rng-ecd9ecc75d150b82a832eb7aaa9b7b983fea5271.zip
ata: libata-sata: Use BIT() macro to convert tag to bit field
The BIT() macro is commonly used in the kernel. Make use of it when converting a tag, fetched from the Successful NCQ Commands log or the NCQ Command Error log, to a bit field. This makes the code easier to read. Suggested-by: Igor Pylypiv <ipylypiv@google.com> 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions