aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <[email protected]>2018-11-07 17:51:45 +0000
committerGreg Kroah-Hartman <[email protected]>2018-11-11 20:58:27 +0000
commit187fade88ca0ff2df9d360ca751d948d73db7095 (patch)
treea1fdcf21de6dc72cb7f1e0a68ead114f5be76702 /drivers/fpga/zynq-fpga.c
parenttools: Add 'firmware' category and add ihex2fw tool (diff)
downloadkernel-187fade88ca0ff2df9d360ca751d948d73db7095.tar.gz
kernel-187fade88ca0ff2df9d360ca751d948d73db7095.zip
fpga: altera-cvp: fix 'bad IO access' on x86_64
If mapping the CvP BAR fails, we still can configure the FPGA via PCI config space access. In this case the iomap pointer is NULL. On x86_64, passing NULL address to pci_iounmap() generates "Bad IO access at port 0x0" output with stack call trace. Fix it. Signed-off-by: Anatolij Gustschin <[email protected]> Acked-by: Alan Tull <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions