[PATCH rdma-core] util: fix bad argument passed to s390_mmio_write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@xxxxxxxx>
---
 util/mmio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/mmio.h b/util/mmio.h
index be22fb76..101af9dd 100644
--- a/util/mmio.h
+++ b/util/mmio.h
@@ -208,7 +208,7 @@ __le64 mmio_read64_le(const void *addr);
 #ifdef __s390x__
 static inline void mmio_memcpy_x64(void *dest, const void *src, size_t bytecnt)
 {
-	s390_mmio_write(addr, src, bytecnt);
+	s390_mmio_write(dest, src, bytecnt);
 }
 #else
 
-- 
2.14.0.rc1.4.gab083fa77

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux