linux/drivers/peci
Zev Weiss 8306d6f35d peci: Constify struct peci_controller_ops
As with most ops structs, we never modify it at runtime, and keeping
function pointers in read-only memory is generally a good thing
security-wise.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://lore.kernel.org/r/20230327224315.11135-1-zev@bewilderbeest.net
Reviewed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20230623142805.577612-1-iwona.winiarska@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-04 16:21:30 +02:00
..
controller peci: Constify struct peci_controller_ops 2023-08-04 16:21:30 +02:00
core.c peci: Constify struct peci_controller_ops 2023-08-04 16:21:30 +02:00
cpu.c peci: cpu: Fix use-after-free in adev_release() 2022-08-15 20:31:35 +02:00
device.c peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
internal.h peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
Kconfig peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
Makefile peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
request.c peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
sysfs.c driver core: bus: mark the struct bus_type for sysfs callbacks as constant 2023-03-23 13:20:40 +01:00