linux/drivers/power
Hongbo Li eb1ea1351d power: supply: ab8500: 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/20240904011434.2010118-1-lihongbo22@huawei.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-09-05 16:30:44 +02:00
..
reset power: reset: brcmstb: Do not go into infinite loop if reset fails 2024-08-27 19:35:23 +02:00
sequencing power: sequencing: fix an invalid pointer dereference in error path 2024-07-17 16:30:50 +02:00
supply power: supply: ab8500: Constify struct kobj_type 2024-09-05 16:30:44 +02:00
Kconfig power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00
Makefile power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00