From patchwork Sun Apr 10 19:47:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Kluin X-Patchwork-Id: 696951 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3AJm0Lq010294 for ; Sun, 10 Apr 2011 19:48:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755230Ab1DJTrw (ORCPT ); Sun, 10 Apr 2011 15:47:52 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:58126 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754766Ab1DJTru (ORCPT ); Sun, 10 Apr 2011 15:47:50 -0400 Received: by eyx24 with SMTP id 24so1535906eyx.19 for ; Sun, 10 Apr 2011 12:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=W5m0cSeDaSQd7ZqXAnL8gg9WVtgZsN4j5K0zk22Uk44=; b=iwh5ah1h+uxTNezdY8grp+Rok3ZH88zRv1JIwgMD8IaDG4TkyXGwzb3qHXsG4/n836 G71BW/hbJOuYw0HxT4LqD67nnBddxXchcQX8AgEii9q7Z7SLVg7K81rSZb5RZrmOH3hv nriiuxylWN4OlV6K24Km4bwVnbCiX2Nq/5G0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=XqhhPHR0aA9y/mRMfswnUj3IosomsBq64ySQAWFg+O2eT9eptnGccvrltX/cH/ZT2X iM/Nw16Gw4wzozziWPfH9l0BnN9ZLdN1axEffEQwWO3pImBFoMD1IixffPRZ0uumw/pp DiGuJdMAIQUac3vQ6E/cqD1NtWCrGZ7xzeY9M= Received: by 10.213.103.74 with SMTP id j10mr703040ebo.7.1302464868792; Sun, 10 Apr 2011 12:47:48 -0700 (PDT) Received: from [192.168.1.7] (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id m55sm1154504eei.22.2011.04.10.12.47.47 (version=SSLv3 cipher=OTHER); Sun, 10 Apr 2011 12:47:48 -0700 (PDT) Message-ID: <4DA20964.6050806@gmail.com> Date: Sun, 10 Apr 2011 21:47:48 +0200 From: roel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Steve Wise , linux-rdma@vger.kernel.org, Andrew Morton , LKML Subject: [PATCH] RDMA/cxgb4: missing parentheses Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 10 Apr 2011 19:48:00 +0000 (UTC) Parens are missing: '|' has a higher presedence than '?'. Signed-off-by: Roel Kluin Acked-by: Steve Wise --- drivers/infiniband/hw/cxgb4/qp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 70a5a3c..80cab20 100644 --- a/drivers/infiniband/hw/cxgb4/qp.c +++ b/drivers/infiniband/hw/cxgb4/qp.c @@ -214,7 +214,7 @@ static int create_qp(struct c4iw_rdev *rdev, struct t4_wq *wq, V_FW_RI_RES_WR_HOSTFCMODE(0) | /* no host cidx updates */ V_FW_RI_RES_WR_CPRIO(0) | /* don't keep in chip cache */ V_FW_RI_RES_WR_PCIECHN(0) | /* set by uP at ri_init time */ - t4_sq_onchip(&wq->sq) ? F_FW_RI_RES_WR_ONCHIP : 0 | + (t4_sq_onchip(&wq->sq) ? F_FW_RI_RES_WR_ONCHIP : 0) | V_FW_RI_RES_WR_IQID(scq->cqid)); res->u.sqrq.dcaen_to_eqsize = cpu_to_be32( V_FW_RI_RES_WR_DCAEN(0) |