Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3692385ybv; Mon, 10 Feb 2020 04:48:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyBZzX12ern1xcuVI21I1EETBvgTdDTCpLnG3Q4MgbmNbDI9JYCDeRlgRoznfUx2oGS5UMV X-Received: by 2002:a05:6830:12d5:: with SMTP id a21mr956826otq.296.1581338934403; Mon, 10 Feb 2020 04:48:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581338934; cv=none; d=google.com; s=arc-20160816; b=g3HDJwbhUX148MtOXwOAZHDQTfSa49Knc5nK4k8XBM/yRF8djYQEjgiAcw3NMm65R0 WIzmQIzF/eO3YawkdDDgzakKHfvrnnB1YOIFyFyiqybcZEUYo+8MGbRz3O324IQn4oAf B1j8TBKbSbe/NK9xiom9S8ewq9BKaDTVwc5IEuOAXV9dqpU3zUup/Xp9FPKv7XoCwnEa 1z4V+Cb6THS4klXxC53aRnMO66Gu2dO5+jajxtzSAQXT2ghfQMP2GcN7KsXFmDbbWUQj FSR7LcS9PWLEQO3fiivSyirAaCOakJ51nU55HSS8oZ85ddDr5L5B2EeSjwah/o1P2GUf 5a8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0LUQp3Rpfu82pGUPrmX+izMNvFDtLzrlpwMphVPLWXM=; b=F2G7jk7cBqZec1B6h2M6p5R08rtgybTtLwDfxLsr3MZQThnAXXH975I7nQqPdGUbxD Sg0/z+3Qq2ZTef/d1raQg5ZMg73ROyQKKxJF+yRWWwcf+pkCO4kyAoJY0t4JQCKCobpQ UGLIG/AvV2B9um9cgW8GYUecmgGFqc8YVBrZl7ffzmUoV3VDK0242Y/ipWpiOVRu8lBm yVtj7v916rxLVzwYe1PnuZJDdcSrGuaIHr9Ux9lNLk/ZlE7w3HfTPu6latF7z+ttm8hc oOMeOuG6PZDn91p+MiDZe7FQHTPCb9fGjDvxOd6eUTuIGzifHwvoCsfn5mkf+adzU/Gx Fv8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QgKdRFI7; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16si115628oih.154.2020.02.10.04.48.43; Mon, 10 Feb 2020 04:48:54 -0800 (PST) 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=@kernel.org header.s=default header.b=QgKdRFI7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728581AbgBJMqu (ORCPT + 99 others); Mon, 10 Feb 2020 07:46:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:45140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730089AbgBJMlx (ORCPT ); Mon, 10 Feb 2020 07:41:53 -0500 Received: from localhost (unknown [209.37.97.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D4C522080C; Mon, 10 Feb 2020 12:41:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581338512; bh=HoJJzDKj9PhO7+iQhVv1Aw7XPwXTDlexw5hvlE4u3VU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QgKdRFI7utqyuH3eM6KcBY4sKnadCVAPxfF04XTbJs/jTeziEFqbTEUitp74nLlhN ZUQiflEyilbJAoPuM3hbn326hidu4Iw4+99ozNk3+OWksOgp5krvKtVw3gfM9WPGrd zm9nkKcPa8psOz8dnJ+D+hvKtTA7s6fEsa9x6nMw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nathan Chancellor , "David S. Miller" Subject: [PATCH 5.5 292/367] net: smc911x: Adjust indentation in smc911x_phy_configure Date: Mon, 10 Feb 2020 04:33:25 -0800 Message-Id: <20200210122450.732358980@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210122423.695146547@linuxfoundation.org> References: <20200210122423.695146547@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nathan Chancellor commit 5c61e223004b3b5c3f1dd25718e979bc17a3b12d upstream. Clang warns: ../drivers/net/ethernet/smsc/smc911x.c:939:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (!lp->ctl_rfduplx) ^ ../drivers/net/ethernet/smsc/smc911x.c:936:2: note: previous statement is here if (lp->ctl_rspeed != 100) ^ 1 warning generated. This warning occurs because there is a space after the tab on this line. Remove it so that the indentation is consistent with the Linux kernel coding style and clang no longer warns. Fixes: 0a0c72c9118c ("[PATCH] RE: [PATCH 1/1] net driver: Add support for SMSC LAN911x line of ethernet chips") Link: https://github.com/ClangBuiltLinux/linux/issues/796 Signed-off-by: Nathan Chancellor Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/smsc/smc911x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/smsc/smc911x.c +++ b/drivers/net/ethernet/smsc/smc911x.c @@ -936,7 +936,7 @@ static void smc911x_phy_configure(struct if (lp->ctl_rspeed != 100) my_ad_caps &= ~(ADVERTISE_100BASE4|ADVERTISE_100FULL|ADVERTISE_100HALF); - if (!lp->ctl_rfduplx) + if (!lp->ctl_rfduplx) my_ad_caps &= ~(ADVERTISE_100FULL|ADVERTISE_10FULL); /* Update our Auto-Neg Advertisement Register */