x86/calgary: implement ->mapping_error
authorChristoph Hellwig <hch@lst.de>
Mon, 22 May 2017 08:36:43 +0000 (10:36 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2017 13:54:35 +0000 (06:54 -0700)
commit8bd17c6670ecf259f689f398a8336068f0a972ce
treed1e6dd0cb610ed9f007f28b8ab478c4f3e4b9c30
parent14a9aad7f0df85d977c0d8be42e80fa3f8efdb26
x86/calgary: implement ->mapping_error

DMA_ERROR_CODE is going to go away, so don't rely on it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/x86/kernel/pci-calgary_64.c