]> git.baikalelectronics.ru Git - kernel.git/commit
s390: implement ->mapping_error
authorChristoph Hellwig <hch@lst.de>
Sun, 21 May 2017 11:04:09 +0000 (13:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2017 13:54:31 +0000 (06:54 -0700)
commit58ff1031ca5dbe0421e7a14039c8a202e1b3cc72
treee76495d66cd9fc9c3d02e2611d4853564eee57ff
parent31284f9dc8aa77f799c30d587aef9177f43d4fb7
s390: implement ->mapping_error

s390 can also use noop_dma_ops, and while that currently does not return
errors it will so in the future.  Implementing the mapping_error method
is the proper way to have per-ops error conditions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
arch/s390/include/asm/dma-mapping.h
arch/s390/pci/pci_dma.c