Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp559463pxj; Thu, 20 May 2021 16:13:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW3HcLXC+z2ZH+IY61yRNmQpodNmt1aqtCOdWD3grYWIX1jt1AtjDIUMKnW+QlNlnZNAxj X-Received: by 2002:a05:6402:b63:: with SMTP id cb3mr7533179edb.189.1621552418878; Thu, 20 May 2021 16:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621552418; cv=none; d=google.com; s=arc-20160816; b=cbtkVc3aRQ6gHPa01KBcFnSSl9iONV6/dNKJmur/fGLMwOZEGbnthbq2J+2Ig1ZzBH XoODFvEZ+w1Gfb7zdKKj+849YdchiBTEicM/4ghp/ovUKM9QJSicss8m40HAohjrgEhs 0M6rRhSfNE2/CznX+ksuzvEfReW/6gxEtfdxcQ3fCQGufDIMEDA47038oDOTzV4EzZYJ 4MLjbJ81OBvVvxR5f9WZ4E99L81sQj0PMK0RmPhXyjOjLLQ1ytcKy+wSyIV/iM/bfoOz tw7T8C6Hypja9RhdCQgx9ogUmFiiSB4j9iRfwrIqRq/2I8T51gdZu2UnNZzRLRWxka63 kXSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=A0Q4gStOjIoOGYwrrWSU6/NltI0Y8MHtnZz1zCKUHbE=; b=g79cYmC4TaeGfpz18+M05R7NEFlGNWtNhDwxMnxggZ/3n9uhkxpZpL6bshVJHTn5r4 gmp6lTMIT2xgk2zvcOov0YSQVcDLHM7PHfJonbF3bjhgh8bCbkMEVjn1KxdxElTEmUmM UuT9cJKE3BeHI1ayhfTKLf4JDTmZHu2LrwYz3s7aK+kn3rXPtXrvfc9+CrfjH9yHJ2sX 3bnrRNzdG40CAoKZzV73oQ9pMPqGPa/+D1Ac/iJeyN85DEUbkdbld+ybu/1VJ6c4FHol eXHa+zQyzyFl5k1MaQp6bp4oqK0HdJPKnkEqL6i50X8wY3bbykl8xki3vbmDKYmyGWcz Uz8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/A358rP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si3740380edy.29.2021.05.20.16.13.11; Thu, 20 May 2021 16:13:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/A358rP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241724AbhETLZY (ORCPT + 99 others); Thu, 20 May 2021 07:25:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:38332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239096AbhETLFf (ORCPT ); Thu, 20 May 2021 07:05:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C6FB61D31; Thu, 20 May 2021 10:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621505110; bh=+jcIGcjeKOo/f6wb1UeksPpIsxSXW9diPnA0V1vZo8I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T/A358rPQj4g+pu5AECi5DhTTZC/Am4xEr4viXrzphZehCeuROvaa5LytGyoboHYR PH2fgBpr791F5pipqyPknqRqlFJCcbLC7cEdx3XyhiwIRoHZij3HBd8OGAzt6sYGrk zTX77tjJ+HyoZL8Pe4lLC9KHuCF00nLSIdKkHSus= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tosk Robot , Kaixu Xia , Jakub Kicinski Subject: [PATCH 4.9 228/240] cxgb4: Fix the -Wmisleading-indentation warning Date: Thu, 20 May 2021 11:23:40 +0200 Message-Id: <20210520092116.364906568@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092108.587553970@linuxfoundation.org> References: <20210520092108.587553970@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kaixu Xia commit ea8146c6845799142aa4ee2660741c215e340cdf upstream. Fix the gcc warning: drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2673:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2673 | for (i = 0; i < n; ++i) \ Reported-by: Tosk Robot Signed-off-by: Kaixu Xia Link: https://lore.kernel.org/r/1604467444-23043-1-git-send-email-kaixuxia@tencent.com Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c @@ -2446,7 +2446,7 @@ do { \ seq_printf(seq, "%-12s", s); \ for (i = 0; i < n; ++i) \ seq_printf(seq, " %16" fmt_spec, v); \ - seq_putc(seq, '\n'); \ + seq_putc(seq, '\n'); \ } while (0) #define S(s, v) S3("s", s, v) #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v)