Skip to content

Fix sloppy typing in the fast drain logic

Sergey Shtylyov linux-ide 1 version Applied

Status from this message: Applied to for-5.20. Thanks !

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ata: libata-eh: fix sloppy result type of ata_eh_nr_in_flight()drivers/ata/libata-eh.c+4 -42 replies
2/2ata: make ata_port::fastdrain_cnt *unsigned int*include/linux/libata.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix sloppy typing in the fast drain logic

Here are 2 patches against the 'for-next' branch of Damien Le Moal's 'libata.git' repo.
The libata's fast drain logic unfortunately boasts of some sloppy typing -- unify it by using *unsigned int* everyhere...

Sergey Shtylyov (2):
ata: libata-eh: fix sloppy result type of ata_eh_nr_in_flight()
ata: make ata_port::fastdrain_cnt *unsigned int*

 drivers/ata/libata-eh.c | 8 ++++----
 include/linux/libata.h  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.26.3