Re: [PATCH 1/7] dynamic debug v2 - infrastructure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Ravnborg
Date: Wednesday, August 13, 2008 - 1:00 pm

On Tue, Aug 12, 2008 at 08:38:59PM -0700, Greg KH wrote:

I have not looked into the particular error but what happens is
that u_ether.o is used by more than one module so kbuild does
not know what value to assign the KBUILD_MODNAME and therefore
decide not to assign KBUILD_MODNAME at all.

And because any usage of KBUILD_MODNAME is anyway flawed in u_ether.c
as we do not know for what module it is being used it makes sense for
kbuild to do so.

The above error happens because u_ether.c uses something that require KBUILD_MODNAME
to be define.
So the correct fix is to avid usage of this macro in the source.

Note: The old error Andrew mentions was caused by alpha indirectly
pulling in a inline function that used KBUILD_MODNAME - something
that did not happen on the other architectures.

	Sam
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Tue Jul 15, 2:31 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Greg KH, (Thu Jul 17, 12:01 am)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Thu Jul 17, 2:20 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Dominik Brodowski, (Thu Jul 17, 3:56 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Dominik Brodowski, (Thu Jul 17, 11:37 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Fri Jul 18, 7:39 am)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Fri Aug 8, 2:51 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Randy Dunlap, (Fri Aug 8, 7:38 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Mon Aug 11, 7:12 am)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Mon Aug 11, 10:36 am)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Tue Aug 12, 12:48 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Tue Aug 12, 1:46 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Andrew Morton, (Tue Aug 12, 6:16 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Wed Aug 13, 12:05 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Sam Ravnborg, (Wed Aug 13, 1:00 pm)
Re: [PATCH 1/7] dynamic debug v2 - infrastructure, Jason Baron, (Thu Aug 14, 2:05 pm)