[PATCH] peci: Constify struct peci_controller_ops
Winiarska, Iwona
iwona.winiarska at intel.com
Thu Mar 30 16:39:12 PDT 2023
On Mon, 2023-03-27 at 15:43 -0700, Zev Weiss wrote:
> As with most ops structs, we never modify it at runtime, and keeping
> function pointers in read-only memory is generally a good thing
> security-wise.
>
> Signed-off-by: Zev Weiss <zev at bewilderbeest.net>
Reviewed-by: Iwona Winiarska <iwona.winiarska at intel.com>
Thanks
-Iwona
> ---
> drivers/peci/controller/peci-aspeed.c | 2 +-
> drivers/peci/core.c | 4 ++--
> include/linux/peci.h | 4 ++--
> 3 files changed, 5 insertions(+), 5 deletions(-)
More information about the linux-arm-kernel
mailing list