summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-07-30 09:33:44 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 20:41:46 +0400
commit32be1d22327743134974c7b2ec1e2a143b6b6f86 (patch)
tree328b1b18d4c3222684a4e3c52d355a8e93bc36a6 /scripts/mod
parent07a887d399b84668bc26cd040d699b26ec3086c2 (diff)
downloadlinux-32be1d22327743134974c7b2ec1e2a143b6b6f86.tar.xz
scripts/mod/modpost.c: fix spelling of module and happens
Spelling fixes in scripts/mod/modpost.c Signed-off-by: Ben Dooks <ben-linux@fluff.org> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 8f038e6d5f98..418cd7dbbc93 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1468,7 +1468,7 @@ static void section_rel(const char *modname, struct elf_info *elf,
* marked __initdata will be discarded when the module has been intialized.
* Likewise for modules used built-in the sections marked __exit
* are discarded because __exit marked function are supposed to be called
- * only when a moduel is unloaded which never happes for built-in modules.
+ * only when a module is unloaded which never happens for built-in modules.
* The check_sec_ref() function traverses all relocation records
* to find all references to a section that reference a section that will
* be discarded and warns about it.