From: Ben Dooks <ben-linux@fluff.org>
To: Shine Liu <shinel@foxmail.com>
Cc: ben-linux@fluff.org, linux-arm-kernel@lists.arm.linux.org.uk,
inux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM:S3C24XX: Fix a wrong dependency in Kconfig which leads to a compile time error
Date: Mon, 21 Sep 2009 14:00:00 +0100 [thread overview]
Message-ID: <20090921130000.GW24720@trinity.fluff.org> (raw)
In-Reply-To: <1253519532.5804.30.camel@shinel>
On Mon, Sep 21, 2009 at 03:52:12PM +0800, Shine Liu wrote:
> Hi all,
>
> There's a small mistake in arch/arm/plat-s3c24xx/Kconfig leads to a
> compile time error when compiling kernel for S3C24XX mach:
>
> LD .tmp_vmlinux1
> arch/arm/mach-s3c2440/built-in.o: In function `mini2440_map_io':
> mach-mini2440.c:(.init.text+0x4a0): undefined reference to `s3c_device_nand'
> arch/arm/mach-s3c2440/built-in.o:(.init.data+0x78c): undefined reference to `s3c_device_nand'
> arch/arm/plat-s3c24xx/built-in.o: In function `s3c244x_map_io':
> common-smdk.c:(.init.text+0x8e4): undefined reference to `s3c_device_nand'
> arch/arm/plat-s3c24xx/built-in.o: In function `smdk_machine_init':
> common-smdk.c:(.init.text+0xe44): undefined reference to `s3c_device_nand'
> arch/arm/plat-s3c24xx/built-in.o:(.init.data+0x18c): undefined reference to `s3c_device_nand'
> make: *** [.tmp_vmlinux1] Error 1
>
> The bug was introduced by the patch:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=db616eb67604242c11bfbb331bb143bfe4a2e386
>
> Both kernel 2.6.31 and latest linux-next (next-20090918) has the defect.
> The following patch will fixed this bug.
Hi, thankyou for the great bug report but this is already fixed in
a set sent to RMK.
> Signed-off-by: Shine Liu <shinel@foxmail.com>
> Signed-off-by: Shine Liu <liuxian@redflag-linux.com>
> ----------------------------------------------------
>
> --- a/arch/arm/plat-s3c24xx/Kconfig 2009-09-21 15:09:59.000000000 +0800
> +++ b/arch/arm/plat-s3c24xx/Kconfig 2009-09-21 15:10:09.000000000 +0800
> @@ -10,7 +10,7 @@
> default y
> select NO_IOPORT
> select ARCH_REQUIRE_GPIOLIB
> - select S3C_DEVICE_NAND
> + select S3C_DEV_NAND
> help
> Base platform code for any Samsung S3C24XX device
The best solution (although it does touch a number of Kconfig files)
is to ensure each machine that requires the s3c_device_nand defines
a select in their machine Kconfig.
for example:
config MACH_OSIRIS
....
select S3C_DEV_NAND
....
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
next prev parent reply other threads:[~2009-09-21 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-21 7:52 [PATCH] ARM:S3C24XX: Fix a wrong dependency in Kconfig which leads to a compile time error Shine Liu
2009-09-21 13:00 ` Ben Dooks [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-09-21 7:57 Shine Liu
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=20090921130000.GW24720@trinity.fluff.org \
--to=ben-linux@fluff.org \
--cc=inux-arm-kernel@lists.infradead.org \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=shinel@foxmail.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.