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)
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>

No differences found