From patchwork Thu Oct 6 20:51:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 9365287 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 E4D37608A7 for ; Thu, 6 Oct 2016 20:51:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D320D2923B for ; Thu, 6 Oct 2016 20:51:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C44C129249; Thu, 6 Oct 2016 20:51:53 +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 6A2B229244 for ; Thu, 6 Oct 2016 20:51:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934752AbcJFUvv (ORCPT ); Thu, 6 Oct 2016 16:51:51 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:54423 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934680AbcJFUvr (ORCPT ); Thu, 6 Oct 2016 16:51:47 -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=d/BQgdzP1XhkXgH2Vkhgr6Iv8ggbVgUeLfLII0r/bOo=; b=K/HyjUl5URE53Jlztjh0fcR2kd/zcDAb80xTB73087h8+SebYIusto7XOUq3a1v6r58TnMM2Sq5GY+yq08UbK5AnbhrG9EzHLWqx6L3k/3Uu/x6inzJqRI43Eqs/ogu3OjJkCFEd5Gv+JOqurPa9q3FLa4T75oV7iadJgpDUO4c=; Received: from [10.0.0.151] (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 1bsFdp-000839-My for linux-rdma@vger.kernel.org; Thu, 06 Oct 2016 14:51:45 -0600 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Subject: [PATCH rdma-core 03/17] Update comment in cxbg* drivers Date: Thu, 6 Oct 2016 14:51:29 -0600 Message-Id: <1475787103-13283-4-git-send-email-jgunthorpe@obsidianresearch.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1475787103-13283-1-git-send-email-jgunthorpe@obsidianresearch.com> References: <1475787103-13283-1-git-send-email-jgunthorpe@obsidianresearch.com> X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.151 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 The swap is correct on most arches we support, the note should be to move this stuff to common code. Fixes: 1df0888f6a73 ("Remove most checks of __BYTE_ORDER") Signed-off-by: Jason Gunthorpe Reviewed-by: Steve Wise --- libcxgb3/src/cxio_wr.h | 3 +-- libcxgb4/src/t4.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libcxgb3/src/cxio_wr.h b/libcxgb3/src/cxio_wr.h index e24c7fed7d76..e15479540598 100644 --- a/libcxgb3/src/cxio_wr.h +++ b/libcxgb3/src/cxio_wr.h @@ -50,8 +50,7 @@ #define Q_COUNT(rptr,wptr) ((wptr)-(rptr)) #define Q_PTR2IDX(ptr,size_log2) (ptr & ((1UL<