From patchwork Fri Jul 6 17:17:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10512193 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 91F0D60325 for ; Fri, 6 Jul 2018 17:17:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74B6C28720 for ; Fri, 6 Jul 2018 17:17:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 695552872E; Fri, 6 Jul 2018 17:17:55 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 1F7D428739 for ; Fri, 6 Jul 2018 17:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933405AbeGFRRt (ORCPT ); Fri, 6 Jul 2018 13:17:49 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:63065 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933275AbeGFRRk (ORCPT ); Fri, 6 Jul 2018 13:17:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1530897461; x=1562433461; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=FYWNPaOcqDs0+oX3U2w9ZMOW/KBvnT/ZpqizXkMzFLc=; b=qei7WRZESuii12wgsMcHPTvzLbnrBGYmVQGe8KQZWPLhzaaN0uqQZNEG DkfAhJqPy0m/4NEmzBz0thIrL91gcLvpu4puqV6T0wMr5VlQbPvM8ys2d ZVKYszuu4n5NK7CvW7OpyEFXmQA5AZQrtxWfkr5nwCpk9QPNEMjXZ3hT1 t+YK8ky8G+AeFWVOE/TJQg6yuspmnb7eoy8xxlZ8VTDuUwgvDJLUAgGG6 1bhAPoFX+1U9jsZa2zaKjmrURMFfGIHP7j0MZh8WWITrR7ewTcqomd7Mz 7J4hugCiqCtghniUqh0/AC/VQYZyV7IsF8qgJAX3Xc478CQ0JCwrxHa8n w==; X-IronPort-AV: E=Sophos;i="5.51,317,1526313600"; d="scan'208";a="84076256" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 07 Jul 2018 01:17:39 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP; 06 Jul 2018 10:06:50 -0700 Received: from thinkpad-bart.sdcorp.global.sandisk.com ([10.111.67.248]) by uls-op-cesaip02.wdc.com with ESMTP; 06 Jul 2018 10:17:39 -0700 From: Bart Van Assche To: Jason Gunthorpe Cc: Doug Ledford , linux-rdma@vger.kernel.org, Bart Van Assche , Yishai Hadas Subject: [PATCH 07/13] IB/mlx4: Declare work request pointers that are not modified const Date: Fri, 6 Jul 2018 10:17:30 -0700 Message-Id: <20180706171736.14543-8-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180706171736.14543-1-bart.vanassche@wdc.com> References: <20180706171736.14543-1-bart.vanassche@wdc.com> 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: Bart Van Assche Cc: Yishai Hadas --- drivers/infiniband/hw/mlx4/qp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c index 0f59b123492b..6d4e531255b4 100644 --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c @@ -3547,7 +3547,7 @@ static int build_lso_seg(struct mlx4_wqe_lso_seg *wqe, return 0; } -static __be32 send_ieth(struct ib_send_wr *wr) +static __be32 send_ieth(const struct ib_send_wr *wr) { switch (wr->opcode) { case IB_WR_SEND_WITH_IMM: