Re: [PATCH v2 0/2] Fix sloppy 'timeout' parameter type in libata-core.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/15/22 10:38 PM, Sergey Shtylyov wrote:

> The libata code too 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. Start fixing the timeout types from
> ata_exec_internal[_sg]() that triggered the SVACE static analyzer; there's
> going to be a large continuation series somewhat later...
> 
> Sergey Shtylyov (2):
>   ata: libata-core: make ata_exec_internal_sg() *static*
>   ata: libata-core: fix sloppy parameter type in ata_exec_internal[_sg]()
> 
>  drivers/ata/libata-core.c | 12 ++++++------
>  drivers/ata/libata.h      |  6 +-----
>  2 files changed, 7 insertions(+), 11 deletions(-)

  Forgot to mention the patches are against the 'for-next' branch of Damien's
'libata.git' repo... :-/

MBR, Sergey



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux