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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0h8_F_Fru13aAzZ27W304gwex1d0NPyitourTaS_-ajeQ@mail.gmail.com>
Date: Thu, 22 Feb 2024 11:21:08 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Dan Carpenter <dan.carpenter@...aro.org>, Colin Ian King <colin.i.king@...il.com>
Cc: Zhang Rui <rui.zhang@...el.com>, Len Brown <lenb@...nel.org>, linux-acpi@...r.kernel.org, 
	kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] ACPI: thermal_lib: Add missing checks for errors in
 return code ret

On Wed, Feb 21, 2024 at 2:19 PM Dan Carpenter <dan.carpenter@...aroorg> wrote:
>
> Btw, in real life, in 2024, the compiler is going to automatically
> initialize "temp_decik" to zero.  So we could just do:
>
> -       int temp_decik;
> +       int temp_decik = 0;
>
> That would silence the warning without affecting anything else at all.

Sounds good to me.

Anyone willing to cut a patch for this?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ