lkml.org 
[lkml]   [2003]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectmodule symbol fix
Fix for trivial typo.  Without it, you can't insert anything on top of
agpgart.ko because the agp_register_driver() will erroneously pick up
the symbol version from agp_backend_acquire(). I'm surprised a bug
like this would survive for 9+ weeks. Lack of testers?

--david

===== kernel/module.c 1.72 vs edited =====
--- 1.72/kernel/module.c Tue Apr 8 12:36:21 2003
+++ edited/kernel/module.c Tue Apr 15 18:14:55 2003
@@ -165,7 +165,7 @@
if (gplok) {
for (i = 0; i < mod->num_gpl_syms; i++) {
if (strcmp(mod->gpl_syms[i].name, name) == 0) {
- *crc = symversion(mod->crcs, i);
+ *crc = symversion(mod->gpl_crcs, i);
return mod->gpl_syms[i].value;
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.188 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site