s390/pci: return correct dma address for offset > PAGE_SIZE
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Mon, 22 Apr 2013 17:27:17 +0000 (19:27 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 23 Apr 2013 08:18:16 +0000 (10:18 +0200)
commit186f50fa568a221fdabd6753341c2de4abd24b78
treeaec34a12d243f9819f1debc49a6f91481af6b6fd
parent63dd9b44ac926d3250c1e8dfcb309c37c870fe21
s390/pci: return correct dma address for offset > PAGE_SIZE

For offset > PAGE_SIZE, s390_dma_map_pages() will issue a warning
and return a wrong dma address.

This patch removes the warning and fixes the dma return address
calculation.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_dma.c