diff options
| author | David Windsor <dwindsor@gmail.com> | 2026-05-05 23:27:38 +0300 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko@kernel.org> | 2026-06-21 04:25:27 +0300 |
| commit | ebc242f78c52ef9de0e650bf48f64eb110351a4f (patch) | |
| tree | b5733c36efff2d356a530047622e18dcb07d2e6a /scripts | |
| parent | 1a3746ccbb0a97bed3c06ccde6b880013b1dddc1 (diff) | |
| download | linux-ebc242f78c52ef9de0e650bf48f64eb110351a4f.tar.xz | |
tpm: svsm: constify tpm_chip_ops
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@gmail.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20260505202738.145800-1-dwindsor@gmail.com
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
