lkml.org 
[lkml]   [2025]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] thermal/drivers/acerhdf: Constify struct thermal_zone_device_ops
Date
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.


\
 
 \ /
  Last update: 2025-05-25 23:20    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog