Messages in this thread Patch in this message | | | Date | Tue, 15 Apr 2003 18:27:43 -0700 | From | David Mosberger <> | Subject | module 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/
| |