linux-stable/drivers/base
Greg Kroah-Hartman b5aaecb82a driver core: bus: clean up bus_sort_breadthfirst()
Convert the bus_sort_breadthfirst() function to use bus_to_subsys() and
not use the back-pointer to the private structure.

This also allows us to get rid of bus_get_device_klist() which was only
being used by this one internal function.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230208111330.439504-14-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-09 10:43:30 +01:00
..
firmware_loader Kbuild updates for v6.2 2022-12-19 12:33:32 -06:00
power Power management updates for 6.2-rc1 2022-12-12 13:19:07 -08:00
regmap regmap: Merge fix for where we get the number of registers from 2022-12-12 11:50:58 +00:00
test Merge 6.2-rc5 into driver-core-next 2023-01-22 12:56:55 +01:00
arch_numa.c mm: percpu: add generic pcpu_populate_pte() function 2022-01-20 08:52:52 +02:00
arch_topology.c arch_topology: Build cacheinfo from primary CPU 2023-01-18 09:58:40 +00:00
attribute_container.c driver core: attribute_container: fix W=1 warnings 2021-05-14 13:37:10 +02:00
auxiliary.c driver core: make struct bus_type.uevent() take a const * 2023-01-27 13:45:52 +01:00
base.h driver core: add local subsys_get and subsys_put functions 2023-02-09 10:42:57 +01:00
bus.c driver core: bus: clean up bus_sort_breadthfirst() 2023-02-09 10:43:30 +01:00
cacheinfo.c cacheinfo: Initialize variables in fetch_cache_info() 2023-01-31 16:02:02 +01:00
class.c driver core: make kobj_type structures constant 2023-02-08 13:34:30 +01:00
component.c drivers: base: component: fix memory leak with using debugfs_lookup() 2023-02-08 13:33:10 +01:00
container.c
core.c driver core: fw_devlink: Make cycle detection more robust 2023-02-08 13:37:54 +01:00
cpu.c driver core: make struct bus_type.uevent() take a const * 2023-01-27 13:45:52 +01:00
dd.c drivers: base: dd: fix memory leak with using debugfs_lookup() 2023-02-08 13:33:13 +01:00
devcoredump.c devcoredump : Serialize devcd_del work 2022-09-24 14:01:40 +02:00
devres.c devres: Use kmalloc_size_roundup() to match ksize() usage 2022-11-09 15:11:46 +01:00
devtmpfs.c devtmpfs: convert to pr_fmt 2023-02-02 09:34:20 +01:00
driver.c driver core: fix driver_set_override() issue with empty strings 2022-09-05 13:01:34 +02:00
firmware.c
hypervisor.c
init.c init: Initialize noop_backing_dev_info early 2022-06-16 10:55:57 +02:00
isa.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
Kconfig devtmpfs: mount with noexec and nosuid 2021-12-30 13:54:42 +01:00
Makefile genirq: Get rid of GENERIC_MSI_IRQ_DOMAIN 2022-11-17 15:15:20 +01:00
map.c driver: base: Prefer unsigned int to bare use of unsigned 2021-07-21 17:30:09 +02:00
memory.c drivers/base/memory: Fix comments for phys_index_show() 2023-01-20 14:15:00 +01:00
module.c
node.c - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in 2022-10-10 17:53:04 -07:00
physical_location.c driver core: location: Free struct acpi_pld_info *pld before return false 2023-01-20 14:20:30 +01:00
physical_location.h driver core: Add sysfs support for physical location of a device 2022-04-27 09:51:57 +02:00
pinctrl.c
platform-msi.c platform-msi: Switch to the domain id aware MSI interfaces 2022-12-05 19:21:00 +01:00
platform.c driver core: platform: simplify __platform_driver_probe() 2023-02-01 14:08:10 +01:00
property.c device property: fix of node refcount leak in fwnode_graph_get_next_endpoint() 2023-01-19 14:45:41 +01:00
soc.c driver core: soc: remove layering violation for the soc_bus 2023-01-31 09:09:53 +01:00
swnode.c driver core: make kobj_type structures constant 2023-02-08 13:34:30 +01:00
syscore.c
topology.c drivers/base: fix userspace break from using bin_attributes for cpumap and cpulist 2022-07-15 17:36:33 +02:00
trace.c devres: Enable trace events 2021-06-15 17:14:36 +02:00
trace.h devres: Enable trace events 2021-06-15 17:14:36 +02:00
transport_class.c drivers: base: transport_class: fix resource leak when transport_add_device() fails 2023-01-20 14:22:53 +01:00