aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2018-02-26 20:51:13 +0000
committerBjorn Helgaas <[email protected]>2018-02-26 20:51:13 +0000
commitc37406e05d1e541df40b8b81c4bd40753fcaf414 (patch)
tree80e17f2555b2ca4b030a76a1708af54b5d59d5b7 /drivers/gpu/drm/amd/amdgpu/atom.c
parentPCI: Update location of pci.ids file (diff)
downloadkernel-c37406e05d1e541df40b8b81c4bd40753fcaf414.tar.gz
kernel-c37406e05d1e541df40b8b81c4bd40753fcaf414.zip
PCI: Allow release of resources that were never assigned
It is entirely possible that the BIOS wasn't able to assign resources to a device. In this case don't crash in pci_release_resource() when we try to resize the resource. Fixes: 8bb705e3e79d ("PCI: Add pci_resize_resource() for resizing BARs") Signed-off-by: Christian König <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> CC: [email protected] # v4.15+
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions