aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2021-08-16 10:44:50 +0900
committerJens Axboe <axboe@kernel.dk>2021-08-18 07:19:39 -0600
commit891fd7c61952ed3fddb82a3b00ae4b3edfce8733 (patch)
tree8183cbd8b6c50428425f5147209edb0091c22087 /tools/perf/scripts/python/export-to-sqlite.py
parentd8d8778c24cc4689250b59c426489a360032d912 (diff)
libata: cleanup ata_dev_configure()
Introduce the helper functions ata_dev_config_lba() and ata_dev_config_chs() to configure the addressing capabilities of a device. To control message printing in these new helpers, as well as in ata_dev_configure() and in ata_hpa_resize(), add the helper function ata_dev_print_info() to avoid open coding for the eh context ATA_EHI_PRINTINFO flag in multiple functions. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20210816014456.2191776-6-damien.lemoal@wdc.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions