aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2021-08-16 10:44:49 +0900
committerJens Axboe <[email protected]>2021-08-18 07:19:39 -0600
commitd8d8778c24cc4689250b59c426489a360032d912 (patch)
treec30e7b257e107d2e9dec91a6add2bcec6a0db5cc /lib/test_fortify/write_overflow-memcpy.c
parent56b4f06c55add95fe508a1746d9173bade6388bf (diff)
libata: cleanup device sleep capability detection
Move the code to retrieve the device sleep capability and timings out of ata_dev_configure() into the helper function ata_dev_config_devslp(). While at it, mark the device as supporting the device sleep capability only if the sata settings page was retrieved successfully to ensure that the timing information is correctly initialized. 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