[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <14d690a4-d2d5-01db-b2a2-e3c87b4a6394@linuxfoundation.org>
Date: Wed, 12 Oct 2022 09:39:56 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Li kunyu <kunyu@...china.com>, trenn@...e.com, shuah@...nel.org,
ray.huang@....com
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] power: cpupower: utils: Optimize print_online_cpus and
print_offline_cpus function
On 10/12/22 04:10, Li kunyu wrote:
> 1. Remove the initialization assignment of variables, and they will be
> assigned first.
> 2. Remove the mandatory conversion of returned value of malloc function,
> which returns void* type.
>
> Signed-off-by: Li kunyu <kunyu@...china.com>
Can you tell me more about why this change is needed and how you determined
the need for this change?
thanks,
-- Shuah
Powered by blists - more mailing lists