diff options
author | 2023-06-20 16:46:43 +0200 | |
---|---|---|
committer | 2023-08-05 08:31:41 +0200 | |
commit | d2e8071bed0befa3304acb01edd4a228d81fc4d2 (patch) | |
tree | afb2372a5ee29ab177d54c3a01e5238fa9e60ff9 /drivers/base/node.c | |
parent | kobject: Add helper kobj_ns_type_is_valid() (diff) | |
download | linux-rng-d2e8071bed0befa3304acb01edd4a228d81fc4d2.tar.xz linux-rng-d2e8071bed0befa3304acb01edd4a228d81fc4d2.zip |
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 <peterhuewe@gmx.de>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: linux-integrity@vger.kernel.org
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/r/20230620144642.584926-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions