From: Tony Breeds <hidden> Date: 2008-02-13 02:42:38
The current pmac32_defconfig fails to build with the following error:
Building modules, stage 2.
ERROR: "check_media_bay" [drivers/block/swim3.ko] undefined!
WARNING: modpost: Found 23 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[2]: *** [__modpost] Error 1
This patch fixes that.
Signed-off-by: Tony Breeds <redacted>
---
drivers/block/swim3.c | 4 ----
drivers/macintosh/mediabay.c | 2 --
2 files changed, 0 insertions(+), 6 deletions(-)
On Wed, 13 Feb 2008 13:40:20 +1100
tony@bakeyournoodle.com (Tony Breeds) wrote:
The current pmac32_defconfig fails to build with the following error:
Building modules, stage 2.
ERROR: "check_media_bay" [drivers/block/swim3.ko] undefined!
WARNING: modpost: Found 23 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[2]: *** [__modpost] Error 1
This patch fixes that.
Kyle posted a slightly different patch that seemed to still keep
the original intention of ifdefery in tact. I've no idea which is
better, but the three of you might want to compare notes.
josh
From: Tony Breeds <hidden> Date: 2008-02-13 02:53:19
On Tue, Feb 12, 2008 at 08:48:02PM -0600, Josh Boyer wrote:
Kyle posted a slightly different patch that seemed to still keep
the original intention of ifdefery in tact. I've no idea which is
better, but the three of you might want to compare notes.
/me checks ....
Hmm Kyle's seem the leave the:
#ifndef CONFIG_PMAC_MEDIABAY
#define check_media_bay(which, what) 1
#endif
in swim3.c, which doesn't seem right.
But I'm easy as long as it gets fixed. :)
Yours Tony
linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/
Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2008-02-13 03:34:35
On Wed, 2008-02-13 at 13:40 +1100, Tony Breeds wrote:
The current pmac32_defconfig fails to build with the following error:
Building modules, stage 2.
ERROR: "check_media_bay" [drivers/block/swim3.ko] undefined!
WARNING: modpost: Found 23 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[2]: *** [__modpost] Error 1
Bart, I told you I didn't want those ifdef's in mediabay ... they are
just cluttering things and causing trouble.
This patch fixes that.
Signed-off-by: Tony Breeds <redacted>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2008-02-13 06:05:47
On Tue, 2008-02-12 at 20:48 -0600, Josh Boyer wrote:
quoted
The current pmac32_defconfig fails to build with the following
error:
quoted
Building modules, stage 2.
ERROR: "check_media_bay" [drivers/block/swim3.ko] undefined!
WARNING: modpost: Found 23 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[2]: *** [__modpost] Error 1
This patch fixes that.
Kyle posted a slightly different patch that seemed to still keep
the original intention of ifdefery in tact. I've no idea which is
better, but the three of you might want to compare notes.
Just remove the bloody ifdef's, they are just a useless pain.
Ben.