[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0iaUCXkqkOyBwn2ZwKLFc+ozstf3Rq-n-_eetK6A9vtPA@mail.gmail.com>
Date: Wed, 26 Feb 2025 20:57:01 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Lukasz Luba <lukasz.luba@....com>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org, rafael@...nel.org,
daniel.lezcano@...aro.org, rui.zhang@...el.com,
srinivas.pandruvada@...ux.intel.com
Subject: Re: [PATCH 0/4] Thermal: clean-up with kcalloc()
On Mon, Feb 24, 2025 at 6:34 PM Lukasz Luba <lukasz.luba@....com> wrote:
>
> Hi all,
>
> This is just small clean-up inspired by this patch [1].
> It aims to keep the thermal framework up-to-date with the
> recommendations in the community [2]. If there are (or will be)
> some static checks in this area, we will be OK.
>
> The patches are on top of latest thermal/linux-next branch
>
> Regards,
> Lukasz Luba
>
> [1] https://lore.kernel.org/lkml/20250222-thermal_kcalloc-v1-1-9f7a747fbed7@ethancedwards.com/
> [2] https://www.kernel.org/doc/html/next/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments
>
> Lukasz Luba (4):
> thermal: OF: Use kcalloc() instead of kzalloc() with multiplication
> thermal: k3_j72xx_bandgap: Use kcalloc() instead of kzalloc()
> thermal: int340x: Use kcalloc() instead of kzalloc() with
> multiplication
> thermal: hisi: Use kcalloc() instead of kzalloc() with multiplication
>
> drivers/thermal/hisi_thermal.c | 4 ++--
> drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c | 4 ++--
> drivers/thermal/k3_j72xx_bandgap.c | 4 ++--
> drivers/thermal/thermal_of.c | 2 +-
> 4 files changed, 7 insertions(+), 7 deletions(-)
>
> --
All applied as 6.15 material, thanks!
Powered by blists - more mailing lists