diff options
author | Damien Le Moal <[email protected]> | 2021-08-16 10:44:50 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-18 07:19:39 -0600 |
commit | 891fd7c61952ed3fddb82a3b00ae4b3edfce8733 (patch) | |
tree | 8183cbd8b6c50428425f5147209edb0091c22087 /lib/test_fortify/write_overflow-memcpy.c | |
parent | d8d8778c24cc4689250b59c426489a360032d912 (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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions