Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp709253yba; Fri, 3 May 2019 09:11:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrQduj3VhDWLUdAtKsrcBGT6tgi9KiiLeXFeb4Za6+Mop/3Jkc+12luO7OImduBCy65LLb X-Received: by 2002:a65:500d:: with SMTP id f13mr11808124pgo.250.1556899916862; Fri, 03 May 2019 09:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556899916; cv=none; d=google.com; s=arc-20160816; b=YUnEAnD2jnIgfLaB3r6snO3IyN2aKgpM0uH6/obIXrkcPbAjD5I0g3jeA/8eNGUtwf XgsD6nlAEoG1jFICKHcGLGdfok7bz4q5BewKMtOUz4SpcLnmv6W7cYNMQCgodQXFOeqB BPPYm4vLgMuDSbsH1nvcHpEfL8O2KooMEOFrx2DwuEmV315M7hV2ThxsKaskOf1FqPHC LthRTj5kfgBA+ApEBSkg6ezBV33N1kpxvpxZxw3aFhQzHOOHiZWb25jPY4nKkKoXNiqk so8DRP8CvHpuFW2aEGCSPzDdi3OhQpRwuLF0zxfR9e7eAAjyHTK7VEI5rXoFzd83mHjB gHTg== 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:subject:from :cc:to:references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=RKs9+pgzpFFtWB9uduqZyo3nyHnQJ+0CCp+GsH65EOI=; b=A0Oz9gNOFRI3jcSLF/sc91UGHLCSlSccrdBTQHNK3DctgP/9b2+i0d8r/Yj29RXBy7 Rz6LA05Nd+9La8uLEHpdHB20goZ5W+pv6uln2EAFy3na711fV467Eps1fk/EPjtSH+i3 k1xGJPPWcTgVE1zzQRAr294dzrO2Buk3G3evz0FG1tDIq60SMYvquLFCnYu6gs3WfHGa 9oI1kXPxVXrPtJARSd7FenJSEZv06lH6UhEbMn+uNmhAvFIx5mp5VTj/HzIRb9XrmK3I kjUUch19qgsLeX23iVML8/mzYGn/7NMA/E6SeBiEoDFi6M7D2OhTTJwRFt7V1bnbQxBq OrzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TD5d3cqy; 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 h4si2182630pgm.571.2019.05.03.09.11.40; Fri, 03 May 2019 09:11:56 -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=TD5d3cqy; 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 S1728277AbfECQEB (ORCPT + 99 others); Fri, 3 May 2019 12:04:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:39286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726495AbfECQEA (ORCPT ); Fri, 3 May 2019 12:04:00 -0400 Received: from localhost (unknown [104.132.0.70]) (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 1EBE32087F; Fri, 3 May 2019 16:04:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556899440; bh=u8nMHEbZWJcIno8b2VP0zq26Pj+DlJZJ6b1N7AkLZGs=; h=In-Reply-To:References:To:Cc:From:Subject:Date:From; b=TD5d3cqye9lABfgNnSbABLKv5dC1suwdjX/scpb6aAPmD8sQ4qpHuYG/hdBsDeru7 BWClVjMxXIJhOIA6VGsgOr+AZy2t3xgbd9ClZ8eRiulq6SFD3llwWT2Ncg+ulC4Bmy SRdIpHHDC2g2g5HIypFN9DW97CkTgy1i2hqmoVK8= 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> 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" From: Stephen Boyd Subject: Re: [PATCH] clk: imx: clk-pllv3: mark expected switch fall-throughs Message-ID: <155689943924.200842.14239421795559565409@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Fri, 03 May 2019 09:03:59 -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 > --- Applied to clk-next