Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3576159ybg; Mon, 28 Oct 2019 15:15:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxD4UPw1okENpxIidzp47tUfh8nZs/v6qPKKBKXFVLQh1wQrO6ZcB0xXkLp+dPjXI7ACJxM X-Received: by 2002:a17:906:218a:: with SMTP id 10mr180441eju.38.1572300903871; Mon, 28 Oct 2019 15:15:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572300903; cv=none; d=google.com; s=arc-20160816; b=O2Zc/C7v/XIDh0GGX1atOuwvdSgtFCIMsOgGlXd6Xj6tiqeGh8OITKIdfuJ8vdSuJw WQWC8qMUzAU4P7zlakxythudNqkdrWp5cwQWwlTTG16qrYOCiqR68TDRwjE+/VzAdZqa wK1iLxu8BklIO3maPPA10lpL7U7bdFOUboHQ7nVREfL8gA8872DYlzRukvEKSIeE1tTW g9gfowTUQUxVv62talQ4OKoZLDH2BNkKdfU4VeMH00jdKOnH0fhBgKaBb4KWuWKPxRg6 qF07u2FLXymBPCjM/SzXIkfuhT61mNUnLhSjMsa4UjmMYdPyrmCD/FKPbfK4nvzSPKHC x2vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=fEA7ooZYsW9f2zsWHFTpKrN6BsLkB7vzBQpHQTnjp1g=; b=mw/K+dbXlGYrVl+2dAeiCZYU2YRvU8KEqm9W60AL3ZoX/k+oxDlCqmvresNk4PuoVr 2dvx+bpFJ7TmyZzpKA5f6/6sxRhEh9Whajka5hth5vPGKsnV7kwIPYSPIDvv1crkNLVK Rm9/ecAYhBq6QSzcswIUfl+RtUUkd+eF+st1MAr3sLlCiWAGmK7s5iclr45ovY7X1vND 8+bw8dDOPAO6nxQawAwv2XP0lbzxK0KjTIqoUoTxL4b5iamZkc1Fh1wzLl+ynekpkieL O+nmx2mBmTOCHl/0z4IZYFKHhsOFgKnJO6DblaAAcUKTgIv62IsQUb//1Bn7Io7O2mFa eCeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cQc7oeQ5; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si7243509ejt.18.2019.10.28.15.14.39; Mon, 28 Oct 2019 15:15:03 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=cQc7oeQ5; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732686AbfJ1UQp (ORCPT + 99 others); Mon, 28 Oct 2019 16:16:45 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:35231 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726483AbfJ1UQp (ORCPT ); Mon, 28 Oct 2019 16:16:45 -0400 Received: by mail-pl1-f195.google.com with SMTP id x6so2170817pln.2; Mon, 28 Oct 2019 13:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=fEA7ooZYsW9f2zsWHFTpKrN6BsLkB7vzBQpHQTnjp1g=; b=cQc7oeQ5ZHHkhhNd/b2s2mMhmIWL4si/YBpDjg0ls7NS0kw4C5qbe9Xg4xuM9GBEHZ tNqxWL7jNPAXcp+KB92ZOFFyvPVMHyOYAXWBOXLw0lHlAFNSvcraloKaljVwXmicI5o8 IszvneXrtDv0PaXxKU2wmu4Il5q/JwPZWmI//YrTlSEF9WCqNJfMmL14JxINgWdS2bEc 0iJjNTYuxqn29HXTZiQZPq6wv8wFZlNuQljZ5gSQCg2L48elxhjPYrj+qWQMGaJ6d2cI lLndTXQncj3I5ea34BbS42PWjvloHX69xQP0110TB/DkBOazZBGKkh4UywxgkhL7BsAa GWZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=fEA7ooZYsW9f2zsWHFTpKrN6BsLkB7vzBQpHQTnjp1g=; b=MDXJm4eIeXORxJEH1waTnZXYVLcDB962GSV8IjhFF76mGtZDszwPdfqPj+yb0WTT32 045rHH8SU9X0Q1CIF0OGF9Ctyg4Tvjt5zm0DjbQi+H5KwbeZ/PN07L17dB+p07vLcOD7 ojSDnlKbpmcQsO/0pCLgzOkHPrkunmDDFrHlLdk6WxlIGBH6xH9Lg9sYaT1b+7KJhfLT gfCFhBOrsUQl0m1SFHECJpH+j7lrrk6bAiAQuKHyc2W2HFNjo8pctIQzPgMnIDOofnuR CKHZik+Sx+itRqnCMrpKld+kniVTs4fXtRrXFgYGARDyalO1G3A9aRwSGsSOQtz/N8/E BzNQ== X-Gm-Message-State: APjAAAXJLgV0wX+83FOUl9EQikCoPAx/XZpJkeI0fQ0z2lWcbseLjMiz xbBxZRRlsuIHoI6BfTnJ4U0= X-Received: by 2002:a17:902:b489:: with SMTP id y9mr21206837plr.9.1572293803186; Mon, 28 Oct 2019 13:16:43 -0700 (PDT) Received: from saurav ([27.62.167.137]) by smtp.gmail.com with ESMTPSA id i187sm12988692pfc.177.2019.10.28.13.16.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 13:16:42 -0700 (PDT) Date: Tue, 29 Oct 2019 01:46:35 +0530 From: Saurav Girepunje To: michael.chan@broadcom.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com Subject: [PATCH] broadcom: bnxt: Fix use true/false for bool Message-ID: <20191028201634.GA29069@saurav> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use true/false for bool type in bnxt_timer function. Signed-off-by: Saurav Girepunje --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index b4a8cf620a0c..8cdf71f8824d 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -10004,7 +10004,7 @@ static void bnxt_timer(struct timer_list *t) if (bp->link_info.phy_retry) { if (time_after(jiffies, bp->link_info.phy_retry_expires)) { - bp->link_info.phy_retry = 0; + bp->link_info.phy_retry = false; netdev_warn(bp->dev, "failed to update phy settings after maximum retries.\n"); } else { set_bit(BNXT_UPDATE_PHY_SP_EVENT, &bp->sp_event); -- 2.20.1