public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <dlemoal@kernel.org>
To: Sergey Shtylyov <s.shtylyov@omp.ru>, linux-ide@vger.kernel.org
Subject: Re: [PATCH 0/8] Fix the remaining sloppy timeout typing in libata
Date: Fri, 23 Jun 2023 08:49:12 +0900	[thread overview]
Message-ID: <7f8b4eaf-e227-a069-a3c9-3deecf0e5c5a@kernel.org> (raw)
In-Reply-To: <20230616194607.7351-1-s.shtylyov@omp.ru>

On 6/17/23 04:45, Sergey Shtylyov wrote:
> 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()

We could merge patches 1-5 together as core updates, followed by driver patches.

Anyway, looks all OK to me but we are a little too close to the merge window. So
I will apply this once we have 6.5-rc1.

> 
>  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(-)
> 

-- 
Damien Le Moal
Western Digital Research


  parent reply	other threads:[~2023-06-22 23:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Damien Le Moal [this message]
2023-07-06 20:31   ` [PATCH 0/8] Fix the remaining sloppy timeout typing in libata 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f8b4eaf-e227-a069-a3c9-3deecf0e5c5a@kernel.org \
    --to=dlemoal@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=s.shtylyov@omp.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox