Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp395713pxj; Thu, 20 May 2021 11:49:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZYo/jAtYw4PXdQpIjNo+Ag1IeT//acWAqAb9fIkjYUUX6hzAmisZc4BwfAFkvV/Uo36S6 X-Received: by 2002:a6b:6704:: with SMTP id b4mr2924887ioc.123.1621536582569; Thu, 20 May 2021 11:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621536582; cv=none; d=google.com; s=arc-20160816; b=VpS51Of8HL92Sv+AGkoAEsh6nt4+cJStmJj7y5R1NrKeNjXfv/k84p9PR66YQCgaUB 76h7UYIeWIuqMLdTv+HEACDpyYI1sqq19/01EdIUAhWrrakIaKYGdI+G0yem35BOag8e Fgzf46FCkAf+09iTrCwcXhkeJks8e6ucsI+tIHBV169t6JvpQD3PUJMtCldLJsH3Yuv0 fiqck8464ImH5xp1LcG+faa6UUA8+u6BbejozJXIkmcK8T7p1jvgjG/ccHDA9+7yWFTf WmkhJiUPYtQO74d4q+1+tgrLdBcIt2LhYkAfwa2Kdvd0vibeh4cH8NBXA83ms0u0ayb9 89pA== 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=8SFOiw1AC9dViC3bgm1X99QEFuBftduAV+mP2lCM/9g=; b=upoy/Q6x/Mg26zIx0aR0C+ppONaV8ioT0vgnBwijFp3rBxj/P2J3HT0fHp+CZ/MGHR ylGn6+Z994F1xW7GPXrgvdWVEQS+hkGxjPdpH7MJXSOut9fhjV3tH1z0v13Lgu24vEsJ qnYRjGWH/gZFhcIxu7NhwCxP+eGfiZX//AGpmlnNNaYizCYR0T0xnD+g2F4YhTuarYFj 1vDecXSHU8oTmOPVwnduMgKgmbSXEOZSuaCcW/u1A5r/sYfZVevcGPqL8qETAWTUKlm4 +OECgHlX05yzTPRDraXROo7TkcyPbmBiLsGVgQbIaHY+8SK7G0kUa16yUpaQHANuZvV+ AKXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PDgaQGRR; 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 f4si3737470ilq.17.2021.05.20.11.49.29; Thu, 20 May 2021 11:49:42 -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=PDgaQGRR; 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 S235890AbhETKX2 (ORCPT + 99 others); Thu, 20 May 2021 06:23:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:47610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235703AbhETKMq (ORCPT ); Thu, 20 May 2021 06:12:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1840F61973; Thu, 20 May 2021 09:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503829; bh=y0zF1eIHitRaDtkU36Eu6/U0mSkpo4Tjj6KwsGdDPc0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PDgaQGRRmF5Y928CItQg6zxWwee3yoB0B4cKz3IPhVBuGzNVjogSA+dn08QDhFpzH 2dntl6w+qAlEiMsyLHlTC/RMXTEdHavW2nKuHkQrhhuvh5VHvSJkuqR8SzeuGeghgC TMah0u0nuH+LY+ijaHs6bNaLxhSxJUHUnZfrVEMw= 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.19 397/425] cxgb4: Fix the -Wmisleading-indentation warning Date: Thu, 20 May 2021 11:22:46 +0200 Message-Id: <20210520092144.448167594@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092131.308959589@linuxfoundation.org> References: <20210520092131.308959589@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 @@ -2730,7 +2730,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)