aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2018-04-10 13:21:43 +0000
committerGreg Kroah-Hartman <[email protected]>2018-04-26 08:32:51 +0000
commit5f53624662eaac89598641cee6cd54fc192572d9 (patch)
treebeca7380add1710de16b2dc7564ca0f99cded80a /fs/proc/array.c
parentRevert "ARM: amba: Fix race condition with driver_override" (diff)
downloadkernel-5f53624662eaac89598641cee6cd54fc192572d9.tar.gz
kernel-5f53624662eaac89598641cee6cd54fc192572d9.zip
ARM: amba: Make driver_override output consistent with other buses
For AMBA devices with unconfigured driver override, the "driver_override" sysfs virtual file is empty, while it contains "(null)" for platform and PCI devices. Make AMBA consistent with other buses by dropping the test for a NULL pointer. Note that contrary to popular belief, sprintf() handles NULL pointers fine; they are printed as "(null)". Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: stable <[email protected]> Reviewed-by: Todd Kjos <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions