Skip to content

Commit

Permalink
util: fix bad argument passed to s390_mmio_write
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
  • Loading branch information
nmorey authored and rleon committed Aug 21, 2017
1 parent 7d7f03e commit 49211a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/mmio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 49211a6

Please sign in to comment.