Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1274164
| From | Thierry Reding <treding@nvidia.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] clk: tegra: move _calc_dynamic_ram_rate out of #ifdef |
| Date | 2015-11-20 16:20 +0100 |
| Message-ID | <qwVDH-uA-9@gated-at.bofh.it> (permalink) |
| References | <qwG1Y-74P-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Thu, Nov 19, 2015 at 11:32:33PM +0100, Arnd Bergmann wrote:
> _calc_dynamic_ram_rate is defined inside an #ifdef but called
> later in the same file outside of that #ifdef, which can cause a
> build error:
>
> drivers/clk/tegra/clk-pll.c: In function '_tegra_clk_register_pll':
> drivers/clk/tegra/clk-pll.c:1541:29: error: '_calc_dynamic_ramp_rate' undeclared (first use in this function)
>
> This moves both _calc_dynamic_ram_rate and _pll_fixed_mdiv in
> front of the #ifdef to make all configurations compile again.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 44c8b9fa432c ("clk: tegra: pll: Fix _pll_ramp_calc_pll logic and _calc_dynamic_ramp_rate")
> ----
> The patch that caused it appears to be older, but I only ran into
> the randconfig bug today for the first time. Apparently the commit
> is only in linux-next at the moment, not in 4.4-rc1
Hmm... this looks familiar, I thought I had included an equivalent patch
in the clock tree. I'll go do some digging, but this looks exactly like
what I had done at the time.
Thanks,
Thierry
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] clk: tegra: move _calc_dynamic_ram_rate out of #ifdef Arnd Bergmann <arnd@arndb.de> - 2015-11-19 23:40 +0100 Re: [PATCH] clk: tegra: move _calc_dynamic_ram_rate out of #ifdef Rhyland Klein <rklein@nvidia.com> - 2015-11-19 23:50 +0100 Re: [PATCH] clk: tegra: move _calc_dynamic_ram_rate out of #ifdef Thierry Reding <treding@nvidia.com> - 2015-11-20 16:20 +0100
csiph-web