Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp478210pxj; Thu, 20 May 2021 13:58:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBH/DtPNFLzxBuoBdwYTbB331k7UYGxqbpns3PWmzS/2k5MZyBxgi08fjiP/xEAAlGMljp X-Received: by 2002:a17:907:9715:: with SMTP id jg21mr6450732ejc.52.1621544284703; Thu, 20 May 2021 13:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621544284; cv=none; d=google.com; s=arc-20160816; b=xGtQr7L45EEm7zZ8wf9xEK9KtqcFMXGav+BJoSSZBvJSQZMDtoVQIu8ycp+gRCOh9M 3DlsvQC/TnlfhsP31ampnm4I169VdS11aPTViUSBJ2SdDf+foKLbR6d0OKtCRtjGKyao s4Kf3e8wxIfSqY6vr/ha+ROxxwFcxgZFPbvIbXMZXMJAGF6g20HN1RYAr6EGkAn+A7LS c0atTPEFDptyC8U+8x9Crb0flJQwy1MnPqBQX17VsC3MFkypHE4lwlbk+ZkzXpDC0H15 acBmvjgtjQzkI8dwUsSZNoLb6eGiaHoTYerjnbe0OQQIW8Kw3rSzHE0ylVF1II4kSUNE zK2A== 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=ZQeZeNO1Wgtkx578J+67vM1sJe5NbbKyovdD2VJdGP2mRWo+0dMGzBstNd1FNY995Q oWZ4i6CMPgczY0Aj+XIW/qU3503mM/YKHH5K3CJMsL4nqm8RdCPaqBSBiz/yU7fuErMP VDIQve78rD10tiJvAQW7DP3IHnvrXz29VO6Ut1Uw7UrnTVc4uNH/CLqioUYgFtcY88Au Y20Z97pejLvNAbkpV4dXuPeXvKqrMywF0tNqtUypZFjbsx07+Hc11Db1tsVTHvmLDNNf TtS7HhKuoNtncyRZno8I17RYYdIy7GRMyQhWO2ab+ivI8k4VGApHSoE1eQ8mla2Kw2yn p01Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vMQvNf+o; 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 s20si3656861eja.135.2021.05.20.13.57.41; Thu, 20 May 2021 13:58:04 -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=vMQvNf+o; 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 S239247AbhETK6h (ORCPT + 99 others); Thu, 20 May 2021 06:58:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:42054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237578AbhETKlq (ORCPT ); Thu, 20 May 2021 06:41:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 72C6961C83; Thu, 20 May 2021 09:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621504571; bh=+jcIGcjeKOo/f6wb1UeksPpIsxSXW9diPnA0V1vZo8I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vMQvNf+ordO+pyhhUf4yNfAYuDSZqI/Po66wXYmvG/UQI1vetEtGbKVRxsJ2i1OxX jsRBPSyzz/tW7d83MsCJvK7sdYHl3TTmH2k73skBHeQgWJtY4OBTnDcgVQL11oUSv4 pcLLSKxWsrFoRx1g1NttgncF1QPBPdkrM/BqUid0= 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.14 305/323] cxgb4: Fix the -Wmisleading-indentation warning Date: Thu, 20 May 2021 11:23:17 +0200 Message-Id: <20210520092130.694842249@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092120.115153432@linuxfoundation.org> References: <20210520092120.115153432@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)