* Re: Fwd: mainline build: 15 warnings 1 failures (mainline/v3.13-5617-g3aacd62)
[not found] ` <20140124104101.GA31943-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
@ 2014-01-25 2:51 ` Stephen Warren
0 siblings, 0 replies; only message in thread
From: Stephen Warren @ 2014-01-25 2:51 UTC (permalink / raw)
To: Thierry Reding, Olof Johansson,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On 01/24/2014 03:41 AM, Thierry Reding wrote:
> On Thu, Jan 23, 2014 at 10:10:47PM -0800, Olof Johansson wrote:
>> Hmm, DRM build failures? I didn't see this pre-merge so
>> something recent has changed.
>
> Indeed. This is caused by the interaction between two things. The
> root proble is that the prototypes for the DRM debugfs helpers are
> #ifdef'ed in the header file, but the Tegra DRM using them within
> IS_ENABLED() protected blocks of code and therefore expects at
> least prototypes to exist.
>
> This used to work fine because tegra_defconfig enabled DEBUG_FS,
> but it seems like that was dropped in
> 0d8c67218cef8af259e4d12221434a1d7b0f3bbc (ARM: tegra:
> tegra_defconfig updates). I had assumed that it was being dropped
> from the defconfig because something else selected it, but that is
> apparently not what happened.
Sometime after 3.13-rc1 came out, I checked it out and did the
following to update tegra_defconfig:
make tegra_defconfig; make savedefconfig; \
mv defconfig arch/arm/configs/tegra_defconfig
This removed CONFIG_DEBUG_FS=y from tegra_defconfig, because
drivers/clk/Kconfig contained:
> config COMMON_CLK_DEBUG bool "DebugFS representation of clock
> tree" select DEBUG_FS
... and tegra_defconfig contains CONFIG_COMMON_CLK_DEBUG=y.
However, sometime during 3.14 development, that Kconfig variable was
deleted, and instead drivers/clk/clk.c now builds its debugfs code
conditionally upon CONFIG_DEBUG_FS directly. Hence, CONFIG_DEBUG_FS no
longer gets selected.
I guess the best thing is to rebuild tegra_defconfig to add back
CONFIG_DEBUG_FS and remove the non non-existant
CONFIG_COMMON_CLK_DEBUG. I'll check for any other unexpected changes
relative to 3.13 too.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-25 2:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <52e1e955.c1db440a.3b7c.38e6@mx.google.com>
[not found] ` <CAOesGMgP2ny--8eKSuSQGz0j=yv36suvpUX-xcwTu2jePr01CQ@mail.gmail.com>
[not found] ` <20140124104101.GA31943@ulmo.nvidia.com>
[not found] ` <20140124104101.GA31943-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2014-01-25 2:51 ` Fwd: mainline build: 15 warnings 1 failures (mainline/v3.13-5617-g3aacd62) Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).