projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ASoC: wl1273: Fix enum ctl accesses in a wrong type
[deliverable/linux.git]
/
init
/
main.c
diff --git
a/init/main.c
b/init/main.c
index c6ebefafa496106fbb398656245d75f4d59f1f8d..58c9e374704bb20cfff41fa92afcf7cafe498c32 100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-164,10
+164,10
@@
static const char *panic_later, *panic_param;
extern const struct obs_kernel_param __setup_start[], __setup_end[];
extern const struct obs_kernel_param __setup_start[], __setup_end[];
-static
int
__init obsolete_checksetup(char *line)
+static
bool
__init obsolete_checksetup(char *line)
{
const struct obs_kernel_param *p;
{
const struct obs_kernel_param *p;
-
int had_early_param = 0
;
+
bool had_early_param = false
;
p = __setup_start;
do {
p = __setup_start;
do {
@@
-179,13
+179,13
@@
static int __init obsolete_checksetup(char *line)
* Keep iterating, as we can have early
* params and __setups of same names 8( */
if (line[n] == '\0' || line[n] == '=')
* Keep iterating, as we can have early
* params and __setups of same names 8( */
if (line[n] == '\0' || line[n] == '=')
- had_early_param =
1
;
+ had_early_param =
true
;
} else if (!p->setup_func) {
pr_warn("Parameter %s is obsolete, ignored\n",
p->str);
} else if (!p->setup_func) {
pr_warn("Parameter %s is obsolete, ignored\n",
p->str);
- return
1
;
+ return
true
;
} else if (p->setup_func(line + n))
} else if (p->setup_func(line + n))
- return
1
;
+ return
true
;
}
p++;
} while (p < __setup_end);
}
p++;
} while (p < __setup_end);
This page took
0.026455 seconds
and
5
git commands to generate.