mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Module typo fixup
@ 2003-03-27  4:26 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2003-03-27  4:26 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please apply after those last three (sent a slightly dated patch #2).

--- working-2.5.66-bk2-extable-list/kernel/module.c.~1~	2003-03-27 15:24:21.000000000 +1100
+++ working-2.5.66-bk2-extable-list/kernel/module.c	2003-03-27 15:24:55.000000000 +1100
@@ -1249,7 +1249,7 @@
 		goto cleanup;
 
 	/* Set up EXPORTed & EXPORT_GPLed symbols (section 0 is 0 length) */
-	mod->num_syms = sechdrs[exportindex].sh_size / sizeof(*mod->syms);
+	mod->num_ksyms = sechdrs[exportindex].sh_size / sizeof(*mod->syms);
 	mod->syms = (void *)sechdrs[exportindex].sh_addr;
 	if (crcindex)
 		mod->crcs = (void *)sechdrs[crcindex].sh_addr;
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-27  4:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27  4:26 [PATCH] Module typo fixup Rusty Russell

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

all inboxes | Powered by JetHome®