All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-clk <linux-clk@vger.kernel.org>,
	kbuild test robot <lkp@intel.com>,
	Neil Armstrong <narmstrong@baylibre.com>
Subject: Re: [PATCH v2 06/10] mmc: meson-mx-sdio: Depend on OF_ADDRESS and not just OF
Date: Wed, 22 Apr 2020 03:14:20 -0700	[thread overview]
Message-ID: <158755046077.159702.10648240040343779828@swboyd.mtv.corp.google.com> (raw)
In-Reply-To: <CAPDyKFqpS=wke5Y=rTeq3+8bQyacVHcbWnBwG5pxsJ4hPys+9g@mail.gmail.com>

Quoting Ulf Hansson (2020-04-21 07:04:54)
> On Thu, 9 Apr 2020 at 08:44, Stephen Boyd <sboyd@kernel.org> wrote:
> >
> > Making COMMON_CLK a visible option causes the sparc allyesconfig to fail
> > to build like so:
> >
> >    sparc64-linux-ld: drivers/mmc/host/meson-mx-sdio.o: in function `meson_mx_mmc_remove':
> >    meson-mx-sdio.c:(.text+0x70): undefined reference to `of_platform_device_destroy'
> >    sparc64-linux-ld: drivers/mmc/host/meson-mx-sdio.o: in function `meson_mx_mmc_probe':
> >    meson-mx-sdio.c:(.text+0x9e4): undefined reference to `of_platform_device_create'
> >    sparc64-linux-ld: meson-mx-sdio.c:(.text+0xdd4): undefined reference to `of_platform_device_destroy'
> >
> > This is because the implementation of of_platform_device_destroy() is
> > inside an #ifdef CONFIG_OF_ADDRESS section of drivers/of/platform.c.
> > This driver already depends on OF being enabled, so let's tighten that
> > constrain a little more so that it depends on OF_ADDRESS instead. This
> > way we won't try to build this driver on platforms that don't have this
> > function.
> >
> > Reported-by: kbuild test robot <lkp@intel.com>
> > Cc: Neil Armstrong <narmstrong@baylibre.com>
> > Cc: Ulf Hansson <ulf.hansson@linaro.org>
> > Signed-off-by: Stephen Boyd <sboyd@kernel.org>
> 
> I don't have the complete picture here, can I just apply this a fix to
> my mmc tree?
> 

If this patch stays in the series then I can avoid a bisection hole. And
it also doesn't matter until COMMON_CLK config becomes selectable. Maybe
just ack and let it go through clk tree? Unless there's something
changing here in the mmc tree?

  reply	other threads:[~2020-04-22 10:14 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-09  6:44 [PATCH v2 00/10] Allow COMMON_CLK to be selectable Stephen Boyd
2020-04-09  6:44 ` Stephen Boyd
2020-04-09  6:44 ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 01/10] ARM: Remove redundant COMMON_CLK selects Stephen Boyd
2020-04-09  6:44   ` Stephen Boyd
2020-05-14 19:56   ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 02/10] ARM: Remove redundant CLKDEV_LOOKUP selects Stephen Boyd
2020-04-09  6:44   ` Stephen Boyd
2020-05-14 19:56   ` Stephen Boyd
2020-05-14 19:56     ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 03/10] arm64: tegra: " Stephen Boyd
2020-04-09  6:44   ` Stephen Boyd
2020-05-14 19:56   ` Stephen Boyd
2020-05-14 19:56     ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 04/10] h8300: " Stephen Boyd
2020-05-14 19:56   ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 05/10] MIPS: " Stephen Boyd
2020-05-14 19:56   ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 06/10] mmc: meson-mx-sdio: Depend on OF_ADDRESS and not just OF Stephen Boyd
2020-04-21 14:04   ` Ulf Hansson
2020-04-22 10:14     ` Stephen Boyd [this message]
2020-04-22 10:39       ` Ulf Hansson
2020-05-14 19:57   ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 07/10] clk: Allow the common clk framework to be selectable Stephen Boyd
2020-04-09  6:44   ` Stephen Boyd
2020-04-09  6:44   ` Stephen Boyd
2020-04-09 10:53   ` Mark Brown
2020-04-09 10:53     ` Mark Brown
2020-04-09 10:53     ` Mark Brown
2020-05-14 19:57   ` Stephen Boyd
2020-05-14 19:57     ` Stephen Boyd
2020-05-14 19:57     ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 08/10] ARM: mmp: Remove legacy clk code Stephen Boyd
2020-04-09  6:44   ` Stephen Boyd
2020-05-14 19:57   ` Stephen Boyd
2020-05-14 19:57     ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 09/10] MIPS: Loongson64: Drop asm/clock.h include Stephen Boyd
2020-05-14 19:57   ` Stephen Boyd
2020-04-09  6:44 ` [PATCH v2 10/10] clk: Move HAVE_CLK config out of architecture layer Stephen Boyd
2020-05-14 19:57   ` Stephen Boyd
2020-04-09  8:58 ` [PATCH v2 00/10] Allow COMMON_CLK to be selectable Arnd Bergmann
2020-04-09  8:58   ` Arnd Bergmann
2020-04-09  8:58   ` Arnd Bergmann
2020-04-09  9:02 ` [PATCH] mips: loongsoon2ef: remove private clk api Arnd Bergmann
2020-04-13 21:24   ` Philippe Mathieu-Daudé
2020-04-16 16:40   ` Thomas Bogendoerfer

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=158755046077.159702.10648240040343779828@swboyd.mtv.corp.google.com \
    --to=sboyd@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mturquette@baylibre.com \
    --cc=narmstrong@baylibre.com \
    --cc=ulf.hansson@linaro.org \
    /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.