Received: by 10.223.185.116 with SMTP id b49csp3433346wrg; Mon, 5 Mar 2018 21:58:10 -0800 (PST) X-Google-Smtp-Source: AG47ELuW7LAvBwzJOWh+InEMDQ6s65+uSr/Kr+VkxIcS7Z+iESp3NDSJz/W7TwqwDuVrDkA63SNB X-Received: by 10.99.52.203 with SMTP id b194mr14640641pga.349.1520315890868; Mon, 05 Mar 2018 21:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520315890; cv=none; d=google.com; s=arc-20160816; b=TOh+vcU+ZBBS7fo8iCAfL7vBdTdsXk5kec82wJnolggO143HzHE8ufcF3Q5zFoRGwV O3UHamuxe4vS7i88rjoqVbFV8vTwfJRQhdmR/PNw1uPGUDGIo7KB+ZrD7NDitM9dma8t iRhFqTGlXD/ugnOJgoqCB0zaH5sf/yQkiMyBk1Qx8UfE89WaW4IowOrsUM6CpC2NwgIq nxAJDQ7NQKJaIHUg2gZYnEsuhxn21PLoXnQf8G4yfoOcOLG3GoUNmvZSBZOqRItwK02U JcABRXPFrTektPUMqwXvyh8nk77p78pEij7VTqZo6KoIsdChmUOnOLbNPyFoCPahB6Ki z3iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=MWJ8TxDH0ByDR5Q3+cux114hGZTUaoRfWuFFhUbGkUA=; b=PaHb+kb7X5yzZKsf6fg/FcPz1Cf4dyxEW9Wi7R7kcynu7iak3XQ0qUDuukn+kGtr3t 5ueEEb68duOgZxJRXSSVeWtquYIvuRT7RatdA+QCPRP3uEoeiG9PJ47ykgfY3/ZO2JgN KwnQn+9p+2pX9sJr5seYIRfK+ZaXBaytRee9Mm/UJWP6WUqVIIQnGh7TPcbZ2MavkDgB YyBSGIGHcd3U47h07U7+6bUK2n7tVRS00/Lsnt+lEPBX23YDdhjHhjdaeunNiKQs4vXM PSZK9Tv0C5S7+EsEp+RZ/vRSMI05X218V9TcGw/VAsfVfTthb7EU1KWu+sOoMn453CaF B94g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=b7KbMpwl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g72si11487795pfd.2.2018.03.05.21.57.56; Mon, 05 Mar 2018 21:58:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=b7KbMpwl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750908AbeCFF5E (ORCPT + 99 others); Tue, 6 Mar 2018 00:57:04 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:43175 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782AbeCFF5C (ORCPT ); Tue, 6 Mar 2018 00:57:02 -0500 Received: by mail-qt0-f193.google.com with SMTP id d26so23300655qtk.10 for ; Mon, 05 Mar 2018 21:57:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MWJ8TxDH0ByDR5Q3+cux114hGZTUaoRfWuFFhUbGkUA=; b=b7KbMpwl3Fe9aoQAOBbZAQo5yN93Ksos/HgMRnUx6phEZHs+WMaaEcDn6vFVtoiQR4 1s8QpLHfdxKn4CTVhBe4Tnf9kbMC6exh1tmLjs3c+sROM66VNO9TBRwGFXDVSgzxSZzB kozr5KTGEVadsvuUqBnY/vqgzWNdzFw1IQ/fI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MWJ8TxDH0ByDR5Q3+cux114hGZTUaoRfWuFFhUbGkUA=; b=ZOUTsvSrxrDaBU28tMBDzIq7XbkXQJRjDS/dTUvzq3tktxo5isCu+f6IuibY2rzJsa uMz4G6sLZCqBpvk6uBubf/yebSlt1ST17vZLjq0BYJCpw2YkH4aicJ3NXBhJ52clM3eH OJsppXsnLHHXorz6dRHDwFYWy/6SQdTTVtN0OOnBWup8NqxgoAhMz3HZ6LZqZ3r9Z73g /u+8v1uJ56CMG2x2wdTRPugmMBrYl/qAUz+P9j0U1q0k1DM4smaoxOCeNoFLYJ3K1EE4 I/tYvQZ1QXUHkmLin94+WVaHQQVfqteLtvUxvsSqJ+BV35o+FNX4uuK71BZJzcR3SpC3 5DaQ== X-Gm-Message-State: AElRT7HT0gUmkVywcNvz6EiqNAfgEBzOyyFUjWualC9w8UEumQS1n9ux 8mU8oxuWTqMdBsscHEFl2C8R/mCAWozRyHpn9b36fg== X-Received: by 10.237.42.132 with SMTP id t4mr27058489qtd.297.1520315821730; Mon, 05 Mar 2018 21:57:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.59.168 with HTTP; Mon, 5 Mar 2018 21:56:41 -0800 (PST) In-Reply-To: <20180305233647.GA30787@embeddedgus> References: <20180305233647.GA30787@embeddedgus> From: Selvin Xavier Date: Tue, 6 Mar 2018 11:26:41 +0530 Message-ID: Subject: Re: [PATCH] RDMA/bnxt_re/qplib_sp: Use true and false for boolean values To: "Gustavo A. R. Silva" Cc: Devesh Sharma , Somnath Kotur , Sriharsha Basavapatna , Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, linux-kernel , "Gustavo A. R. Silva" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 6, 2018 at 5:06 AM, Gustavo A. R. Silva wrote: > Assign true or false to boolean variables instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Thanks. Acked-by: Selvin Xavier > --- > drivers/infiniband/hw/bnxt_re/qplib_sp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/infiniband/hw/bnxt_re/qplib_sp.c b/drivers/infiniband/hw/bnxt_re/qplib_sp.c > index ee98e5e..2f3f32ea 100644 > --- a/drivers/infiniband/hw/bnxt_re/qplib_sp.c > +++ b/drivers/infiniband/hw/bnxt_re/qplib_sp.c > @@ -154,7 +154,7 @@ int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw, > attr->tqm_alloc_reqs[i * 4 + 3] = *(++tqm_alloc); > } > > - attr->is_atomic = 0; > + attr->is_atomic = false; > bail: > bnxt_qplib_rcfw_free_sbuf(rcfw, sbuf); > return rc; > -- > 2.7.4 >