diff options
| author | Hongbo Li <[email protected]> | 2024-09-04 01:19:51 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-09-11 14:02:50 +0000 |
| commit | 5c09cfa5d21cfd820c183bd188be6f215d99770e (patch) | |
| tree | 9187d0a93e6180afbad228258e25b53feca5ede2 /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | binder: modify the comment for binder_proc_unlock (diff) | |
| download | kernel-5c09cfa5d21cfd820c183bd188be6f215d99770e.tar.gz kernel-5c09cfa5d21cfd820c183bd188be6f215d99770e.zip | |
cxl: Constify struct kobj_type
This 'struct kobj_type' is not modified. It is only used in
kobject_init_and_add() which takes a 'const struct kobj_type *ktype'
parameter.
Constifying this structure and moving it to a read-only section,
and can increase over all security.
Signed-off-by: Hongbo Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions
