Re: [PATCH] peci: Constify struct peci_controller_ops

From: Winiarska, Iwona
Date: Thu Mar 30 2023 - 19:39:20 EST


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@xxxxxxxxxxxxxxxxx>

Reviewed-by: Iwona Winiarska <iwona.winiarska@xxxxxxxxx>

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(-)