lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1ac89860-957f-a24d-82ee-d40e5345d04e@opensource.wdc.com>
Date:   Tue, 19 Jul 2022 20:45:37 +0900
From:   Damien Le Moal <damien.lemoal@...nsource.wdc.com>
To:     Xin Gao <gaoxin@...rlc.com>
Cc:     s.shtylyov@....ru, linux-ide@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Date:do not initialise statics to 0

On 7/19/22 20:29, Xin Gao wrote:
> do not initialise statics to 0
> 
> Signed-off-by: Xin Gao <gaoxin@...rlc.com>
> ---
>  drivers/ata/pata_artop.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c
> index 20a8f31a3f57..1aad8df2ea87 100644
> --- a/drivers/ata/pata_artop.c
> +++ b/drivers/ata/pata_artop.c
> @@ -37,7 +37,7 @@
>   *	test stuff.
>   */
>  
> -static int clock = 0;
> +static int clock;
>  
>  /**
>   *	artop62x0_pre_reset	-	probe begin

Very weird patch title.

Is this solving any static analyzer or compiler warning ? If not, this is
not a very useful change.

-- 
Damien Le Moal
Western Digital Research

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ