android_kernel_motorola_sm6375/drivers/base
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Guenter Roeck 9ba7636fdb driver core: Fix test_async_driver_probe if NUMA is disabled
commit 264d25275a46fce5da501874fa48a2ae5ec571c8 upstream.

Since commit 57ea974fb8 ("driver core: Rewrite test_async_driver_probe
to cover serialization and NUMA affinity"), running the test with NUMA
disabled results in warning messages similar to the following.

test_async_driver test_async_driver.12: NUMA node mismatch -1 != 0

If CONFIG_NUMA=n, dev_to_node(dev) returns -1, and numa_node_id()
returns 0. Both are widely used, so it appears risky to change return
values. Augment the check with IS_ENABLED(CONFIG_NUMA) instead
to fix the problem.

Cc: Alexander Duyck <[email protected]>
Fixes: 57ea974fb8 ("driver core: Rewrite test_async_driver_probe to cover serialization and NUMA affinity")
Signed-off-by: Guenter Roeck <[email protected]>
Cc: stable <[email protected]>
Acked-by: Alexander Duyck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-02-01 09:34:36 +00:00
..
firmware_loader Fix built-in early-load Intel microcode alignment 2020-01-23 08:22:31 +01:00
power PM: QoS: Drop frequency QoS types from device PM QoS 2019-10-21 02:05:21 +02:00
regmap
test driver core: Fix test_async_driver_probe if NUMA is disabled 2020-02-01 09:34:36 +00:00
arch_topology.c
attribute_container.c
base.h
bus.c
cacheinfo.c
class.c
component.c component: do not dereference opaque pointer in debugfs 2020-02-01 09:34:35 +00:00
container.c
core.c cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown 2019-10-10 11:11:17 +02:00
cpu.c x86/bugs: Add ITLB_MULTIHIT bug infrastructure 2019-11-04 12:22:01 +01:00
dd.c
devcon.c
devcoredump.c
devres.c
devtmpfs.c
driver.c
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c mm/memory_hotplug: fix try_offline_node() 2019-11-15 18:34:00 -08:00
module.c
node.c
pinctrl.c
platform-msi.c
platform.c driver core: platform: use the correct callback type for bus_find_device 2019-12-04 22:30:45 +01:00
property.c
soc.c
swnode.c software node: Get reference to parent swnode in get_parent op 2020-01-26 10:01:04 +01:00
syscore.c
topology.c
transport_class.c