From: Seungwon Jeon <tgih.jun@samsung.com>
To: 'Fengguang Wu' <fengguang.wu@intel.com>, 'Chris Ball' <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org
Subject: RE: [mmc:mmc-next 17/28] sdhci-pltfm.c:(.text+0x80): multiple definition of `sdhci_runtime_pm_get'
Date: Fri, 09 Nov 2012 19:24:25 +0900 [thread overview]
Message-ID: <019401cdbe64$64d26710$2e773530$%jun@samsung.com> (raw)
In-Reply-To: <20121108120833.GA8199@localhost>
Fengguang Wu <fengguang.wu@intel.com> wrote:
> On Wed, Nov 07, 2012 at 03:43:05PM -0500, Chris Ball wrote:
> > Hi,
> >
> > On Wed, Nov 07 2012, kbuild test robot wrote:
> > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git mmc-next
> > > head: a6a567a4c25762e36228d2d0c8c1859085132e15
> > > commit: 90ba86ed414e8ab4d84fe3342f10948c607efa7a [17/28] mmc:
> > > sdhci-s3c: ensure non-transaction of bus before clk_disable
> > > config: i386-randconfig-b646 (attached as .config)
> > >
> > > All error/warnings:
> > >
> > > drivers/mmc/host/sdhci-pltfm.o: In function `sdhci_runtime_pm_get':
> > > sdhci-pltfm.c:(.text+0x80): multiple definition of `sdhci_runtime_pm_get'
> > > drivers/mmc/host/sdhci.o:sdhci.c:(.text+0x7550): first defined here
> > > drivers/mmc/host/sdhci-pltfm.o: In function `sdhci_runtime_pm_put':
> > > sdhci-pltfm.c:(.text+0xa0): multiple definition of `sdhci_runtime_pm_put'
> > > drivers/mmc/host/sdhci.o:sdhci.c:(.text+0x7570): first defined here
> >
> > Yay for buildbots. Seungwon, I've dropped this patch from mmc-next now,
> > please investigate and fix.
> >
> > (Wu, are you sure that this is the correct config? It's i386 without
> > MMC_SDHCI_S3C=y, and MMC_SDHCI_S3C depends on PLAT_SAMSUNG/ARM.)
>
> Sorry I don't understand that. MMC_SDHCI_S3C seems to not matter at all?
>
> Looking at the patch, these inline functions in .h should be prefixed
> with "static":
>
> +inline int sdhci_runtime_pm_get(struct sdhci_host *host)
> +{
> + return 0;
> +}
> +inline int sdhci_runtime_pm_put(struct sdhci_host *host)
> +{
> + return 0;
> +}
>
Sorry, I have missed it.
Fengguang, Thank you for detection.
Chris, I'll send a fixed version.
Thanks,
Seungwon Jeon
> Thanks,
> Fengguang
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2012-11-09 10:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-07 20:38 [mmc:mmc-next 17/28] sdhci-pltfm.c:(.text+0x80): multiple definition of `sdhci_runtime_pm_get' kbuild test robot
2012-11-07 20:43 ` Chris Ball
2012-11-08 12:08 ` Fengguang Wu
2012-11-08 12:21 ` Chris Ball
2012-11-09 10:24 ` Seungwon Jeon [this message]
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='019401cdbe64$64d26710$2e773530$%jun@samsung.com' \
--to=tgih.jun@samsung.com \
--cc=cjb@laptop.org \
--cc=fengguang.wu@intel.com \
--cc=linux-mmc@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox