projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9209aed
)
kbuild: fix section mismatch check for unwind on IA64
author
Sam Ravnborg
<sam@mars.ravnborg.org>
Sun, 5 Mar 2006 10:34:15 +0000
(11:34 +0100)
committer
Sam Ravnborg
<sam@mars.ravnborg.org>
Sun, 5 Mar 2006 10:34:15 +0000
(11:34 +0100)
Parameters to strstr() was reversed.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c
patch
|
blob
|
blame
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index c4dc1d72d02efad6d21a943a66fd79f4154d8934..3b570b18c2e41bbd79e2de237db9ad9f09cd6959 100644
(file)
--- a/
scripts/mod/modpost.c
+++ b/
scripts/mod/modpost.c
@@
-776,7
+776,7
@@
static int init_section_ref_ok(const char *name)
if (strncmp(*s, name, strlen(*s)) == 0)
return 1;
for (s = namelist3; *s; s++)
- if (strstr(
*s, name
) != NULL)
+ if (strstr(
name, *s
) != NULL)
return 1;
return 0;
}
@@
-842,7
+842,7
@@
static int exit_section_ref_ok(const char *name)
if (strncmp(*s, name, strlen(*s)) == 0)
return 1;
for (s = namelist3; *s; s++)
- if (strstr(
*s, name
) != NULL)
+ if (strstr(
name, *s
) != NULL)
return 1;
return 0;
}