Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5239691yba; Tue, 30 Apr 2019 11:20:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDPpqNsv4BUQqm2aK9VfGmXl6Yfw/Ja3UC7Y1q39GpDUtiGUSfUIJbox7AwnzxCk7GyiCN X-Received: by 2002:a17:902:a988:: with SMTP id bh8mr52216638plb.243.1556648401785; Tue, 30 Apr 2019 11:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556648401; cv=none; d=google.com; s=arc-20160816; b=EOOcCfUqPxDBlfgtMIdoMXZL7v0TsK3ER4BUaT6341pkKQZfBzR9rtR/mmPsawFL2J QeS6piKX0z3F2KYOURegXIZeGpDeFHFFteSAbt5shUM0vqYdYgvBmYZgVffVy+WASBN/ gLfZnmFEdpff9YRumlAcDIBB298kBJgWWRUXP2PV1OeUJMzJl3/izK3Axzsc2TOuCdYI +48v7Hpsa8fhYhlpfxdRorBY/APFYJ7LVlX35A5ugX6x/hdDQnuSQYpsVTrL0mF0dR9x d4tgPcLqGtGeOHLdPWh4xTOXJV3kj5PIAoOjSh2VdXB6UtlEXDkpHUeruOaM+kWBucin lznQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:message-id:cc:to:subject :from:references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=LOKkEeAuSLz4ZJvHd9wktZHyVgvWdOK86D0h/UDi8gI=; b=yAxhF024tdKUYNSE9GgqJysUGkwFmEfD9aUwNwjIxCUG5THt+mu+0hzH4QwtGSEQdE 4yXUKy2fwf2A6I/ODXguXPonfU9FZAO00YEoyPh1SFvDj+j60N4bI3MXrWwd4mKGRSau ebGNMaySBshhoXEJ0Ba8YrZVbur2Xsl+Bw9NNp9Fx0rxzXQL9AFYmBCg4w+BoYzTSaRh QfA4WROj2ZO12EXKl8HFBSgo2oUiGuZedSssnyTxEWbm0Lhs77AwdCH98URtajveRr6+ 6VbOo1U6FAezUPnqXYTr8SSzyyOec3DbOayrH2NiqnQuEGns9dNcggmZcjLfS0PeVOed opLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Vrvoc0gj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o33si7644217plb.230.2019.04.30.11.19.46; Tue, 30 Apr 2019 11:20:01 -0700 (PDT) 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=Vrvoc0gj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726830AbfD3SRQ (ORCPT + 99 others); Tue, 30 Apr 2019 14:17:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:43620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbfD3SRQ (ORCPT ); Tue, 30 Apr 2019 14:17:16 -0400 Received: from localhost (unknown [104.132.0.74]) (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 395DA20854; Tue, 30 Apr 2019 18:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556648235; bh=RWMVFlZoo1dWgyPx3jxS9nsFQLj+1+W4WSOKZtiVOgU=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=Vrvoc0gjT8TOfrAfASm4xAX5FqcV5zw+G4oijozFOjmnnkSyIwRL4K8gEknb7CgVn bGWIeAVOvQQx++4EgtAyk8HENVyGWAAtPo4i/uzXkoZr5qsTZkNIHtjk1tiPU++3Cb R8XnyE4Yanjn7Sbin0p2IfE8GwAqQ9axVve5gR04= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <8d0d12ae-ce67-5480-49be-893fbdbb6998@embeddedor.com> References: <20190430143206.GA4035@embeddedor> <155664492283.168659.5604495418413396919@swboyd.mtv.corp.google.com> <8d0d12ae-ce67-5480-49be-893fbdbb6998@embeddedor.com> From: Stephen Boyd Subject: Re: [PATCH] clk: imx: clk-pllv3: mark expected switch fall-throughs To: "Gustavo A. R. Silva" , Fabio Estevam , Michael Turquette , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Message-ID: <155664823446.168659.9382397723332081174@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Tue, 30 Apr 2019 11:17:14 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Gustavo A. R. Silva (2019-04-30 10:28:32) >=20 >=20 > On 4/30/19 12:22 PM, Stephen Boyd wrote: > > Quoting Gustavo A. R. Silva (2019-04-30 07:32:06) > >> In preparation to enabling -Wimplicit-fallthrough, mark switch > >> cases where we are expecting to fall through. > >> > >> This patch fixes the following warnings: > >> > >> drivers/clk/imx/clk-pllv3.c: In function =E2=80=98imx_clk_pllv3=E2=80= =99: > >> drivers/clk/imx/clk-pllv3.c:446:18: warning: this statement may fall t= hrough [-Wimplicit-fallthrough=3D] > >> pll->div_shift =3D 1; > >> ~~~~~~~~~~~~~~~^~~ > >> drivers/clk/imx/clk-pllv3.c:447:2: note: here > >> case IMX_PLLV3_USB: > >> ^~~~ > >> drivers/clk/imx/clk-pllv3.c:453:21: warning: this statement may fall t= hrough [-Wimplicit-fallthrough=3D] > >> pll->denom_offset =3D PLL_IMX7_DENOM_OFFSET; > >> ^ > >> drivers/clk/imx/clk-pllv3.c:454:2: note: here > >> case IMX_PLLV3_AV: > >> ^~~~ > >> > >> Warning level 3 was used: -Wimplicit-fallthrough=3D3 > >> > >> This patch is part of the ongoing efforts to enable > >> -Wimplicit-fallthrough. > >> > >> Signed-off-by: Gustavo A. R. Silva > >=20 > > It was sent by Anson already. > >=20 >=20 > Did he address both warnings? >=20 No. I added you to the thread.