diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-06-16 23:51:49 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-06-20 02:17:33 +0300 |
commit | 2e0aee8f0a22c60a1ae0876f7233e70ad9d026b8 (patch) | |
tree | 5007eca23ed5d0855bd8fc8969d3e759a666126f /include/linux/libata.h | |
parent | afae461a3bfa314c0432ab6871ca91a167fcb8be (diff) | |
download | linux-2e0aee8f0a22c60a1ae0876f7233e70ad9d026b8.tar.xz |
ata: make ata_port::fastdrain_cnt *unsigned int*
*unsigned long* ata_port::fastdrain_cnt (64-bit value in a 64-bit kernel)
is always assigned from the 32-bit *unsigned int* variables, thus could
also be made just *unsigned int*...
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index a8bc88b4fe07..0269ff114f5a 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -847,7 +847,7 @@ struct ata_port { enum ata_lpm_policy target_lpm_policy; struct timer_list fastdrain_timer; - unsigned long fastdrain_cnt; + unsigned int fastdrain_cnt; async_cookie_t cookie; |