public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Fix the remaining sloppy timeout typing in libata
@ 2023-06-16 19:45 Sergey Shtylyov
  2023-06-16 19:46 ` [PATCH 1/8] ata: libata: fix parameter type of ata_deadline() Sergey Shtylyov
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Sergey Shtylyov @ 2023-06-16 19:45 UTC (permalink / raw)
  To: Damien Le Moal, linux-ide

Here are 8 patches against the 'for-next' branch of Damien's 'libata.git' repo.

The libata code still often uses the 'unsigned long' type for the millisecond
timeouts, while the kernel functions like msecs_to_jiffies() or msleep() only
take 'unsigned int' parameters for those. I've started fixing the timeout types
from ata_exec_internal[_sg]() that tripped the Svace static analyzer and posted
couple patches, promising to post a large continuation series somewhat later...
in my worst nightmare I couldn't imagine that this would take a whole year! :-(

Sergey Shtylyov (8):
  ata: libata: fix parameter type of ata_deadline()
  ata: libata-core: fix parameter types of ata_wait_register()
  ata: libata-eh: fix reset timeout type
  ata: fix debounce timings type
  ata: libata-scsi: fix timeout type in ata_scsi_park_store()
  ata: libahci: fix parameter type of ahci_exec_polled_cmd()
  ata: ahci_xgene: fix parameter types of xgene_ahci_poll_reg_val()
  ata: sata_sil24: fix parameter type of sil24_exec_polled_cmd()

 drivers/ata/ahci.c          |  2 +-
 drivers/ata/ahci_qoriq.c    |  2 +-
 drivers/ata/ahci_xgene.c    |  7 +++----
 drivers/ata/libahci.c       |  7 ++++---
 drivers/ata/libata-core.c   |  6 +++---
 drivers/ata/libata-eh.c     |  6 +++---
 drivers/ata/libata-sata.c   | 16 ++++++++--------
 drivers/ata/libata-scsi.c   |  4 ++--
 drivers/ata/libata-sff.c    |  2 +-
 drivers/ata/sata_highbank.c |  2 +-
 drivers/ata/sata_inic162x.c |  2 +-
 drivers/ata/sata_mv.c       |  2 +-
 drivers/ata/sata_nv.c       |  2 +-
 drivers/ata/sata_sil24.c    |  4 ++--
 include/linux/libata.h      | 24 ++++++++++++------------
 15 files changed, 44 insertions(+), 44 deletions(-)

-- 
2.26.3

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-07-26  8:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16 19:45 [PATCH 0/8] Fix the remaining sloppy timeout typing in libata Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 1/8] ata: libata: fix parameter type of ata_deadline() Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 2/8] ata: libata-core: fix parameter types of ata_wait_register() Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 3/8] ata: libata-eh: fix reset timeout type Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 4/8] ata: fix debounce timings type Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 5/8] ata: libata-scsi: fix timeout type in ata_scsi_park_store() Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 6/8] ata: libahci: fix parameter type of ahci_exec_polled_cmd() Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 7/8] ata: ahci_xgene: fix parameter types of xgene_ahci_poll_reg_val() Sergey Shtylyov
2023-06-16 19:46 ` [PATCH 8/8] ata: sata_sil24: fix parameter type of sil24_exec_polled_cmd() Sergey Shtylyov
2023-06-22 23:49 ` [PATCH 0/8] Fix the remaining sloppy timeout typing in libata Damien Le Moal
2023-07-06 20:31   ` Sergey Shtylyov
2023-07-17  0:51 ` Damien Le Moal
2023-07-25 23:36 ` Damien Le Moal
2023-07-26  8:41   ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox