public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] modpost warnings with external modules w/o modversions
@ 2004-07-19 12:51 Johannes Stezenbach
  2004-07-19 14:59 ` sam
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Stezenbach @ 2004-07-19 12:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Kai Germaschewski, Sam Ravnborg

Hi,

when building external modules (DVB drivers in this case)
for a kernel without CONFIG_MODVERSIONS I get a number of:

make[1]: Entering directory `/usr/src/linux-2.6.8-rc1'
  Building modules, stage 2.
  MODPOST
*** Warning: "dvb_unregister_frontend_new" [.../dvb-kernel/build-2.6/ves1x93.ko] has no CRC!


I believe that there is a small bug in modpost.c which the
patch below attempts to fix.


--- linux-2.6.8-rc1/scripts/modpost.c.orig	2004-07-16 19:22:24.000000000 +0200
+++ linux-2.6.8-rc1/scripts/modpost.c	2004-07-16 19:22:37.000000000 +0200
@@ -649,7 +649,6 @@ read_dump(const char *fname)
 
 		if (!(mod = find_module(modname))) {
 			if (is_vmlinux(modname)) {
-				modversions = 1;
 				have_vmlinux = 1;
 			}
 			mod = new_module(NOFAIL(strdup(modname)));

Johannes

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-31  7:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-19 12:51 [PATCH] modpost warnings with external modules w/o modversions Johannes Stezenbach
2004-07-19 14:59 ` sam
2004-07-19 17:36   ` Johannes Stezenbach
2004-07-30 22:41     ` Johannes Stezenbach
2004-07-31  7:02       ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox