[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7c78e205-d798-4ce6-82b6-9d03737d3734@gmail.com>
Date: Thu, 22 Feb 2024 10:26:58 +0000
From: "Colin King (gmail)" <colin.i.king@...il.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>,
Dan Carpenter <dan.carpenter@...aro.org>
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 22/02/2024 10:21, Rafael J. Wysocki wrote:
> On Wed, Feb 21, 2024 at 2:19 PM Dan Carpenter <dan.carpenter@...aro.org> 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?
will do
Powered by blists - more mailing lists