diff options
author | Anatolij Gustschin <agust@denx.de> | 2018-11-07 11:51:45 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-11 12:58:27 -0800 |
commit | 187fade88ca0ff2df9d360ca751d948d73db7095 (patch) | |
tree | a1fdcf21de6dc72cb7f1e0a68ead114f5be76702 /mm | |
parent | 1e5106031f298af4ad29c2eb866780d9a21e9ab4 (diff) |
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 <agust@denx.de>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions