diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-03-07 13:28:15 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-03-13 09:23:47 +0100 |
commit | 9ff91a33c082c6163119aff659aaa20399178c5b (patch) | |
tree | 19736d7a23072afdaa4ade2562f45912bef2d710 /drivers/s390/net | |
parent | e1f51be68d9906e652d4678c4df1d34a9d8ad9ef (diff) | |
download | linux-9ff91a33c082c6163119aff659aaa20399178c5b.tar.gz linux-9ff91a33c082c6163119aff659aaa20399178c5b.tar.bz2 linux-9ff91a33c082c6163119aff659aaa20399178c5b.zip |
s390/cio: use new address translation helpers
Use virt_to_dma32() and friends to properly convert virtual to physical and
physical to virtual addresses so that "make C=1" does not generate any
warnings anymore.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index cf8506d0f185..b210e666d0c0 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -1404,7 +1404,7 @@ static void qeth_tx_complete_pending_bufs(struct qeth_card *card, for (i = 0; i < aob->sb_count && i < queue->max_elements; i++) { - void *data = phys_to_virt(aob->sba[i]); + void *data = dma64_to_virt(aob->sba[i]); if (test_bit(i, buf->from_kmem_cache) && data) kmem_cache_free(qeth_core_header_cache, |