Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5239050yba; Tue, 30 Apr 2019 11:19:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxz6NmYRZpc9978MQUObXUI5bQFrOAMH0isosGp9+ogSKxj0GaF8TjrRDLLJGHKzbdxuIG X-Received: by 2002:a63:af0a:: with SMTP id w10mr68302258pge.67.1556648365555; Tue, 30 Apr 2019 11:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556648365; cv=none; d=google.com; s=arc-20160816; b=cvhjKas6JNrF1jHHPp9JlwFYaTkru9PDw1fzLoicuchnhNKYYoRF/Urw5/ohle2tJB wfcOub5sEPUX80naJYB4+mxlzY0D+6UOg8l89Llk+qwoNrvJA7SbtDQyshVhANeF5doK Pem180cHw1ZZrfZnVWem/ix1Wx9ep9ig7g0GUONRiDZmW2leY5vBaZUPRgGvijyMCk9d IZC3TY1PqjgDymYDIjG3gwhe2J9UnNFY6SVU85Cb8WtRoBNAw0UQwQOWUVrnaN8nbbdQ tFJDqdhtI7LLb60056XVw0Ss2DnwNNgL5DwodPtySCVsrNoGPUesH19/ykwbScidX/kV R4Wg== 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=lErF/T/r1uOoqCI38uVO1i+iCEN+CcFqCQWS9xrEKOE=; b=RG/X0N3SWfg1bY2DqIyYi8tikW9YbZuStjzKi0cFMFvNY1W1mvOrEQWWO2YQOPv8ni +LdCH1QL4oZ2vc+4IXwPnnc7LKfmUmv/xrSAj6qp5tkxY2d0gwYEpDivyroK7zAKeB98 e8vcqJUDo6EPTSPRXAUDv18BTM7klXjhD6pzfjM1/DwjvZXfR4UjonSfZ4Y8cglcZGzQ sI/KIUoPn5zSF2qP+DRJMEBqXGIAszzsJk3K+YkLVPBk7qDeuSs9NpU+kUOkZALHM0/A PPkITxtbk0SJmj/dQD29LSagtY2DsN31QEPTysRv9fQ48eZFQb6xfV1x6r/Gc931PNsv y+Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="RfQo/Qhb"; 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 cl5si13058242plb.397.2019.04.30.11.19.09; Tue, 30 Apr 2019 11:19:25 -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="RfQo/Qhb"; 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 S1726522AbfD3SQu (ORCPT + 99 others); Tue, 30 Apr 2019 14:16:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:43198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbfD3SQt (ORCPT ); Tue, 30 Apr 2019 14:16:49 -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 DAC4020854; Tue, 30 Apr 2019 18:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556648209; bh=KUP9To48LBrL/wSVFz97QuNsX4v6nv2LPPjDnJTFTzs=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=RfQo/QhbXFzOkMCGW4mgeoJJ9DWbf6F9XwqhCTWMsjWOf8pNLcXWWgD4iJwX7UGsU 9zZ88Iiz+XS/r2ZYMvemxxajdMosAmc40YHvq6AEnpoCRpN3lxYzUgo1BfrT/c5u40 6Sz3plrXV89dJ/2NRKfMCWBbeuDZPORX7av8ZeEU= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1556589033-6080-1-git-send-email-Anson.Huang@nxp.com> References: <1556589033-6080-1-git-send-email-Anson.Huang@nxp.com> From: Stephen Boyd Subject: Re: [PATCH] clk: imx: pllv3: Fix fall through build warning To: "festevam@gmail.com" , "kernel@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mturquette@baylibre.com" , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" , Anson Huang , "Gustavo A. R. Silva" Cc: dl-linux-imx Message-ID: <155664820799.168659.12393223246835475198@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Tue, 30 Apr 2019 11:16:47 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Anson Huang (2019-04-29 18:55:18) > Fix below fall through build warning: >=20 > drivers/clk/imx/clk-pllv3.c:453:21: warning: > this statement may fall through [-Wimplicit-fallthrough=3D] >=20 > pll->denom_offset =3D PLL_IMX7_DENOM_OFFSET; > ^ > drivers/clk/imx/clk-pllv3.c:454:2: note: here > case IMX_PLLV3_AV: > ^~~~ >=20 > Signed-off-by: Anson Huang > --- Gustavo says there are two warnings. Please compile test with the right options, add Reported-by tags when you get bug reports from someone, and add a Fixes tag and then resend. > drivers/clk/imx/clk-pllv3.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c > index e892b9a..fbe4fe0 100644 > --- a/drivers/clk/imx/clk-pllv3.c > +++ b/drivers/clk/imx/clk-pllv3.c > @@ -451,6 +451,7 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, c= onst char *name, > case IMX_PLLV3_AV_IMX7: > pll->num_offset =3D PLL_IMX7_NUM_OFFSET; > pll->denom_offset =3D PLL_IMX7_DENOM_OFFSET; > + /* fall through */ > case IMX_PLLV3_AV: > ops =3D &clk_pllv3_av_ops; > break;