linux/drivers/misc/cxl
Hongbo Li 5c09cfa5d2 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 <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240904011951.2010646-1-lihongbo22@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-11 16:02:50 +02:00
..
api.c
base.c
context.c
cxl.h
cxllib.c
debugfs.c
fault.c
file.c
flash.c
guest.c
hcalls.c
hcalls.h
irq.c
Kconfig
main.c
Makefile
native.c
of.c
pci.c
sysfs.c cxl: Constify struct kobj_type 2024-09-11 16:02:50 +02:00
trace.c
trace.h
vphb.c