linux/drivers/base
Greg Kroah-Hartman 7bbb89b420 driver core: change to_subsys_private() to use container_of_const()
The macro to_subsys_private() needs to switch to using
container_of_const() as it turned out to being incorrectly casting a
const pointer to a non-const one.  Make this change and fix up the one
offending user to be correctly handling a const pointer properly.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230111093327.3955063-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-11 16:10:09 +01:00
..
firmware_loader Kbuild updates for v6.2 2022-12-19 12:33:32 -06:00
power
regmap
test
arch_numa.c
arch_topology.c
attribute_container.c
auxiliary.c
base.h driver core: change to_subsys_private() to use container_of_const() 2023-01-11 16:10:09 +01:00
bus.c driver core: move struct subsys_dev_iter to a local file 2023-01-10 13:49:09 +01:00
cacheinfo.c
class.c driver core: change to_subsys_private() to use container_of_const() 2023-01-11 16:10:09 +01:00
component.c
container.c
core.c driver core: fix potential null-ptr-deref in device_add() 2023-01-11 16:05:50 +01:00
cpu.c
dd.c driver core: Make driver_deferred_probe_timeout a static variable 2023-01-11 16:06:40 +01:00
devcoredump.c
devres.c
devtmpfs.c
driver.c
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c
module.c
node.c
physical_location.c
physical_location.h
pinctrl.c
platform-msi.c
platform.c
property.c
soc.c
swnode.c
syscore.c
topology.c
trace.c
trace.h
transport_class.c