aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorLiguang Zhang <[email protected]>2021-06-29 11:27:48 +0000
committerRafael J. Wysocki <[email protected]>2021-06-30 18:01:10 +0000
commit7718629432676b5ebd9a32940782fe297a0abf8d (patch)
treedd6a10e93be56087c102c7594d357ba9f41024a6 /drivers/fpga/fpga-bridge.c
parentMerge tag 'acpi-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ra... (diff)
downloadkernel-7718629432676b5ebd9a32940782fe297a0abf8d.tar.gz
kernel-7718629432676b5ebd9a32940782fe297a0abf8d.zip
ACPI: AMBA: Fix resource name in /proc/iomem
In function amba_handler_attach(), dev->res.name is initialized by amba_device_alloc. But when address_found is false, dev->res.name is assigned to null value, which leads to wrong resource name display in /proc/iomem, "<BAD>" is seen for those resources. Signed-off-by: Liguang Zhang <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions