summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.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/exported-sql-viewer.py
parentf54464458d34141911047258090f25c67204cda4 (diff)
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions