Skip to content

Commit

Permalink
ata: make ata_port::fastdrain_cnt *unsigned int*
Browse files Browse the repository at this point in the history
*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>
  • Loading branch information
Sergey Shtylyov authored and Damien Le Moal committed Jun 19, 2022
1 parent afae461 commit 2e0aee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/libata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2e0aee8

Please sign in to comment.