aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2018-04-10 15:21:44 +0200
committerGreg Kroah-Hartman <[email protected]>2018-04-26 10:35:04 +0200
commit6a7228d90d42bcacfe38786756ba62762b91c20a (patch)
tree16f072e45e22a3ccbc94ae82b9deafa9e28e0ea7 /lib/memory-notifier-error-inject.c
parent5f53624662eaac89598641cee6cd54fc192572d9 (diff)
ARM: amba: Fix race condition with driver_override
The driver_override implementation is susceptible to a race condition when different threads are reading vs storing a different driver override. Add locking to avoid this race condition. Cfr. commits 6265539776a0810b ("driver core: platform: fix race condition with driver_override") and 9561475db680f714 ("PCI: Fix race condition with driver_override"). Fixes: 3cf385713460eb2b ("ARM: 8256/1: driver coamba: add device binding path 'driver_override'") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Todd Kjos <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions