From patchwork Fri Aug 4 09:20:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Morey-Chaisemartin X-Patchwork-Id: 9880875 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8D669603B4 for ; Fri, 4 Aug 2017 09:20:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DF56288E8 for ; Fri, 4 Aug 2017 09:20:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72F7A289AF; Fri, 4 Aug 2017 09:20:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA8D3288E8 for ; Fri, 4 Aug 2017 09:20:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751285AbdHDJU5 (ORCPT ); Fri, 4 Aug 2017 05:20:57 -0400 Received: from mx2.suse.de ([195.135.220.15]:41782 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751475AbdHDJUt (ORCPT ); Fri, 4 Aug 2017 05:20:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 12A61ABF8 for ; Fri, 4 Aug 2017 09:20:48 +0000 (UTC) From: Nicolas Morey-Chaisemartin Subject: [PATCH rdma-core] util: fix bad argument passed to s390_mmio_write To: linux-rdma@vger.kernel.org Message-ID: Date: Fri, 4 Aug 2017 11:20:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Thunderbird/55.0 MIME-Version: 1.0 Content-Language: fr-xx-classique+reforme1990 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Nicolas Morey-Chaisemartin Reviewed-by: Jason Gunthorpe --- 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