Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5180898yba; Tue, 30 Apr 2019 10:23:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6S40OqhcbGCozMqIw3a4aJ3L19XKp6imy7zbn8mrOkOv6L18glwsDOmzk0C3H2gfLUSpp X-Received: by 2002:a17:902:2825:: with SMTP id e34mr71578493plb.264.1556645007590; Tue, 30 Apr 2019 10:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556645007; cv=none; d=google.com; s=arc-20160816; b=U8oWitu+A/Haj6l8KLspw2Mjpk4yA1nUHW9Ox33P4T/2OzNNwBu/9ky4zUBTb6X5nh z2ePoXrTK2ijEKzvOcABVPO49/842tphdEEELPRiiKluWkUOk/fLh7/yG3tldkTPUm6z WPDOElaq9eae77CD6zLX6eHyBDDIalMNmu/4h+tNGLJOs66Wu+XvcSRszr6dx+qqFkNq a5rzkEUprjdoOwS58T5treRMNDRQbHa+Qc10anSvQs2Fspz9W66GWaPrLr3kUAwUka7K d4kbBnPNFOWz+vW+nF+YZpJMTtfuBtPADQHb6HiYETEdG2bMZszHthEOCzM2lAw0WKLu OV+A== 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=U+gna3PSZg4gxu1EQI22iVlJnqlB+53xSoEP1WwGxck=; b=gpA0B+be6i8V3ZhTQDGBcmNXINp7wLpVnQXMvvRGWHSYcnJ+KKcouv6CizEz4XPo2R 4nez0kGNIs+v2sktsyMGKmR6MYb+HsvtkfL32p8tejG4FvlmxdHvfGiyGker8LUlsl5h LwFVBgrETeIgUVvTP5KGu4s95g8RgSR3Vp/wZDMsvckRrv+1KuBE3eRswwZ2rB3EtQLz HwJN77hRchSUFDbSz8eGiqFsnk9H2jj1bke4Kiwl6QAldhti5JAWIhxJ3sEs0qE+0Sf+ Bw8eYwkqAZbLssoVRDS4dorhYqu4rAqr5gm491wpeEOlKAd6qvE1BVQoOhNlLiy+ns7m 1tbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nvOY5bIk; 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 p13si40643365pll.324.2019.04.30.10.23.11; Tue, 30 Apr 2019 10:23:27 -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=nvOY5bIk; 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 S1726359AbfD3RWE (ORCPT + 99 others); Tue, 30 Apr 2019 13:22:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:44542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfD3RWE (ORCPT ); Tue, 30 Apr 2019 13:22:04 -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 9104320651; Tue, 30 Apr 2019 17:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556644923; bh=SmFNb1ua+pwzkuk1hPJ8TEAJrM4sAOs7Zi6tdPANKsM=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=nvOY5bIky4wf3Wq9N+PdSJrtbecc4fsjvmALGQsSjf2l385xnNnATIl8XjG1q1jW9 5o30qPmHOB9rpVnhh2czYvp1MWDCpSRTDqcl0zkzzumM93sXoUc15iunCEfi5QPGkI oJi3gQbSrQu2HKxhBq/u1yLI1tN7WxZFiqQ6oF7c= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190430143206.GA4035@embeddedor> References: <20190430143206.GA4035@embeddedor> 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, "Gustavo A. R. Silva" Message-ID: <155664492283.168659.5604495418413396919@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Tue, 30 Apr 2019 10:22:02 -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 07:32:06) > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. >=20 > This patch fixes the following warnings: >=20 > 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 thro= ugh [-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 thro= ugh [-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: > ^~~~ >=20 > Warning level 3 was used: -Wimplicit-fallthrough=3D3 >=20 > This patch is part of the ongoing efforts to enable > -Wimplicit-fallthrough. >=20 > Signed-off-by: Gustavo A. R. Silva It was sent by Anson already.