ata: make ata_port::fastdrain_cnt *unsigned int*
authorSergey Shtylyov <s.shtylyov@omp.ru>
Thu, 16 Jun 2022 20:51:49 +0000 (23:51 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Sun, 19 Jun 2022 23:17:33 +0000 (08:17 +0900)
*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>
include/linux/libata.h

index a8bc88b4fe073cae5d2c6fb5bd71b3803655f0c3..0269ff114f5a7abbccf366f17973c5407f780ada 100644 (file)
@@ -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;