diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/um_arch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 9b5d2cdb621c..1139e07b968f 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c | |||
@@ -198,7 +198,7 @@ __uml_setup("--help", Usage, | |||
198 | " Prints this message.\n\n" | 198 | " Prints this message.\n\n" |
199 | ); | 199 | ); |
200 | 200 | ||
201 | static int __init uml_checksetup(char *line, int *add) | 201 | static void __init uml_checksetup(char *line, int *add) |
202 | { | 202 | { |
203 | struct uml_param *p; | 203 | struct uml_param *p; |
204 | 204 | ||
@@ -208,10 +208,9 @@ static int __init uml_checksetup(char *line, int *add) | |||
208 | 208 | ||
209 | n = strlen(p->str); | 209 | n = strlen(p->str); |
210 | if (!strncmp(line, p->str, n) && p->setup_func(line + n, add)) | 210 | if (!strncmp(line, p->str, n) && p->setup_func(line + n, add)) |
211 | return 1; | 211 | return; |
212 | p++; | 212 | p++; |
213 | } | 213 | } |
214 | return 0; | ||
215 | } | 214 | } |
216 | 215 | ||
217 | static void __init uml_postsetup(void) | 216 | static void __init uml_postsetup(void) |