From patchwork Thu Jul 20 17:01:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 9855379 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 24B10600F5 for ; Thu, 20 Jul 2017 17:01:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13D622022B for ; Thu, 20 Jul 2017 17:01:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08D3E286E4; Thu, 20 Jul 2017 17:01:17 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 6F5CF286CB for ; Thu, 20 Jul 2017 17:01:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965371AbdGTRBO (ORCPT ); Thu, 20 Jul 2017 13:01:14 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:58105 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965436AbdGTRBM (ORCPT ); Thu, 20 Jul 2017 13:01:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=obsidianresearch.com; s=rsa1; h=References:In-Reply-To:Message-Id:Date:Subject:To:From; bh=SmetFg/BwygCIKPwZmV753pIt3/CkcuAb3gcf5PyPPI=; b=Ir71htHOK9LIK2ujjthXjF0yYlAp3t4wQPAhDZ5sxyXIrussDXzXPEVdrkpA0DT9lUKJj6ARD2Z6InG1+Q6FeB0DusZ245J3eN/EITxGEtP4MhYMxSLe4C7h1c86FyFitpO0tT4oBBdNonQVBrAUNP7/hSRwR1+EMxkB0SF4SRE=; Received: from [10.0.0.156] (helo=jggl.edm.orcorp.ca) by quartz.orcorp.ca with esmtps (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dYEp3-0000gv-9R; Thu, 20 Jul 2017 11:01:09 -0600 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org, Leon Romanovsky Subject: [PATCH v2 rdma-core 7/8] vmw_pvrdma: Update kernel header Date: Thu, 20 Jul 2017 11:01:03 -0600 Message-Id: <1500570064-11712-8-git-send-email-jgunthorpe@obsidianresearch.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500570064-11712-1-git-send-email-jgunthorpe@obsidianresearch.com> References: <1500570064-11712-1-git-send-email-jgunthorpe@obsidianresearch.com> X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.156 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 For sparse to be clean we need the updated endian annotations. From kernel commit cc47dd684ee0 ("IB/vmw_pvrdma: Spare annotate imm_data") Signed-off-by: Jason Gunthorpe Acked-by: Adit Ranadive --- buildlib/fixup-include/rdma-vmw_pvrdma-abi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildlib/fixup-include/rdma-vmw_pvrdma-abi.h b/buildlib/fixup-include/rdma-vmw_pvrdma-abi.h index 5016abc9ee9712..c8c1d2d6df4d52 100644 --- a/buildlib/fixup-include/rdma-vmw_pvrdma-abi.h +++ b/buildlib/fixup-include/rdma-vmw_pvrdma-abi.h @@ -222,7 +222,7 @@ struct pvrdma_sq_wqe_hdr { __u32 opcode; /* operation type */ __u32 send_flags; /* wr flags */ union { - __u32 imm_data; + __be32 imm_data; __u32 invalidate_rkey; } ex; __u32 reserved; @@ -273,7 +273,7 @@ struct pvrdma_cqe { __u32 opcode; __u32 status; __u32 byte_len; - __u32 imm_data; + __be32 imm_data; __u32 src_qp; __u32 wc_flags; __u32 vendor_err;