]> Git Repo - linux.git/commit
tpm: make all 'class' structures const
authorIvan Orlov <[email protected]>
Tue, 20 Jun 2023 14:46:43 +0000 (16:46 +0200)
committerGreg Kroah-Hartman <[email protected]>
Sat, 5 Aug 2023 06:31:41 +0000 (08:31 +0200)
commitd2e8071bed0befa3304acb01edd4a228d81fc4d2
treeafb2372a5ee29ab177d54c3a01e5238fa9e60ff9
parente2dfa1d5223cdfa7b832a582de0b7504eaf7ae22
tpm: make all 'class' structures const

Now that the driver core allows for struct class to be in read-only
memory, making all 'class' structures to be declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at load time.

Cc: Peter Huewe <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: [email protected]
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Acked-by: Jarkko Sakkinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/char/tpm/tpm-chip.c
drivers/char/tpm/tpm-interface.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm2-space.c
This page took 0.048753 seconds and 4 git commands to generate.