Re: [PATCH] tpm: svsm: constify tpm_chip_ops
From: Stefano Garzarella
Date: Wed May 06 2026 - 03:25:22 EST
On Tue, May 05, 2026 at 04:27:38PM -0400, David Windsor wrote:
Constify the SVSM vTPM ops. It is statically initialized and never
written to, so let's store it in .rodata.
Every other tpm_class_ops instance in drivers/char/tpm/ is already
const.
Signed-off-by: David Windsor <dwindsor@xxxxxxxxx>
---
drivers/char/tpm/tpm_svsm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
LGTM!
Reviewed-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>