Re: [PATCH] thermal/drivers/acerhdf: Constify struct thermal_zone_device_ops

From: Ilpo Järvinen
Date: Sun May 25 2025 - 17:20:50 EST


On Sun, 25 May 2025 14:47:35 +0200, Christophe JAILLET wrote:

> 'struct thermal_zone_device_ops' could be left unmodified in this driver.
>
> Constifying this structure moves some data to a read-only section, so
> increases overall security, especially when the structure holds some
> function pointers.
>
> While at it, also constify a struct thermal_zone_params.
>
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] thermal/drivers/acerhdf: Constify struct thermal_zone_device_ops
commit: f38af24df7426c088a5b09c9228ed2646a79edc4

--
i.