Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp638323pxj; Thu, 20 May 2021 18:38:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcjrl+2Qp1qB4fIXOsDoQJ/yi+LEw42zCm/gMDohqCf5s+0ppa/grHQEIXKCrjToQbi5Iy X-Received: by 2002:a05:6e02:1b05:: with SMTP id i5mr9346235ilv.204.1621561127281; Thu, 20 May 2021 18:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621561127; cv=none; d=google.com; s=arc-20160816; b=m3pL2aoUO2DFHrMaiLwo46gb3z3Ul1rmjX3ul3ej9qGl6wjNv+dn7qgu7BWYtFuJik h9clYZ7kph7qao5EItZdmKkjWo85UlWIT6LXdC1KXsPm7VJcruN504ZPRX7Dd81AMxxd auUTf4q9iqmnbLaeBAUmikcwYSOLMv902CoXYQiIf1LNY1FKwCbLOQeL5vbY32+pPizw kk7VQEVp+V1BIyrpWiaq7YeKJDkYV9AM07g3YH3pudydS5AXhjBT/xUVsOq1pJlCBCFf Cn749E1ZjrTyRthfyh00k5gtsG5L3gdbnVF7wnAkf1dRpQ7SsxCeN/CZss0glFEcjUQo pGZw== 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=scE2VShl7+PR/MadzIrKf5uYEWkPfejazjZUUTh0RYg=; b=UwGpQzR1VRkXVqm6Y42FbDEHNsiiFfKld8nODYOYHi6ryNwa3nfyhuvnEbolT6ZbCm 2wThA6O5DT6qYSfIgvKy5iKCXFrOQy8j9H1NV/g3xasY7ogdEDsJyyyzrt6bwt1x5+GA nUeiIjp5DTl6UBSCEXHZ4djKYKptvYE9Uy3Ukw51eJ8UJj6Rv1b6noZyr46HlBUDvD8J UnGUe5RQHyKJsILVvY/xcTmvymQ/k0kC6upSHLXjCHP67TQW01ck9DQZBlLarJmkUgUQ 2lRChvbdrfmrtNdfIFLnBvTHksv8/QQkhgq6z4LO8vV6zfADnDKdge3IigrfD7f9UN7V n04Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZZTCm7Y5; 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 g5si4142077ilq.106.2021.05.20.18.38.34; Thu, 20 May 2021 18:38:47 -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=ZZTCm7Y5; 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 S241435AbhETLp2 (ORCPT + 99 others); Thu, 20 May 2021 07:45:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:45744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241064AbhETLYD (ORCPT ); Thu, 20 May 2021 07:24:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E647661D96; Thu, 20 May 2021 10:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621505540; bh=mio6hPhY83PnYqXdFIxOZPZ39f5ZW9oWjV6w6IBh27Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZZTCm7Y5kUh1HU42+uOExafBs5gU+JJB4UrY+4v2oE0Qd9PNk+iz1kjLtd2ngzQuI x9ZiabNfgMKMZS2JaEqjWBWFCUrMwr+ppVthKNaNpAlXrv0NQTw1HnV1xLCJFd4RNx SWomk+y7VU64aX3k4XfxuwuzpxQGschbEy3Bu12A= 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.4 180/190] cxgb4: Fix the -Wmisleading-indentation warning Date: Thu, 20 May 2021 11:24:04 +0200 Message-Id: <20210520092108.111522383@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092102.149300807@linuxfoundation.org> References: <20210520092102.149300807@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 @@ -2263,7 +2263,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)