From: Ingo Molnar <mingo@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
Alexandre Courbot <gnurou@gmail.com>,
Alexander Stein <alexanders83@web.de>,
William Breathitt Gray <vilhelm.gray@gmail.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] gpio: tegra: don't auto-enable for COMPILE_TEST
Date: Wed, 20 Jul 2016 12:41:48 +0200 [thread overview]
Message-ID: <20160720104148.GA5362@gmail.com> (raw)
In-Reply-To: <CACRpkda95YM2ZA2_w-peq-gDvSs6KLggn_ZbLXGWxVEY+HM7Ow@mail.gmail.com>
* Linus Walleij <linus.walleij@linaro.org> wrote:
> On Wed, Jul 6, 2016 at 2:54 PM, Arnd Bergmann <arnd@arndb.de> wrote:
>
> > I stumbled over a build error with COMPILE_TEST and CONFIG_OF
> > disabled:
> >
> > drivers/gpio/gpio-tegra.c: In function 'tegra_gpio_probe':
> > drivers/gpio/gpio-tegra.c:603:9: error: 'struct gpio_chip' has no member named 'of_node'
> >
> > The problem is that the newly added GPIO_TEGRA Kconfig symbol
> > does not have a dependency on CONFIG_OF. However, there is another
> > problem here as the driver gets enabled unconditionally whenever
> > COMPILE_TEST is set.
> >
> > This fixes both problems, by making the symbol user-visible
> > when COMPILE_TEST is set and default-enabled for ARCH_TEGRA=y.
> >
> > As a side-effect, it is now possible to compile-test a Tegra
> > kernel with GPIO support disabled, which is harmless.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > Fixes: 4dd4dd1d2120 ("gpio: tegra: Allow compile test")
>
> Patch applied.
This is still not upstream and this build failure is very prominent in the
upstream kernel right now.
> I'm starting to get a bit tired about anything related to compile testing.
They are very useful in finding real problems as well, and some people
(like me! :-) rely on being able to generate random kernel images and
boot them.
Thanks,
Ingo
next prev parent reply other threads:[~2016-07-20 10:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-06 12:54 [PATCH] gpio: tegra: don't auto-enable for COMPILE_TEST Arnd Bergmann
2016-07-06 13:38 ` Linus Walleij
2016-07-20 10:41 ` Ingo Molnar [this message]
2016-07-20 11:07 ` Arnd Bergmann
2016-07-22 13:39 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160720104148.GA5362@gmail.com \
--to=mingo@kernel.org \
--cc=alexanders83@web.de \
--cc=arnd@arndb.de \
--cc=gnurou@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vilhelm.gray@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.