[PATCH] peci: Constify struct peci_controller_ops

Winiarska, Iwona iwona.winiarska at intel.com
Fri Mar 31 10:39:12 AEDT 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 openbmc mailing list