Signed-off-by: Jules Maselbas <jmasel...@zdiv.net> --- lib/kstrtox.c | 1 + lib/strtox.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/lib/kstrtox.c b/lib/kstrtox.c index 0e4b590531..2052ee94cb 100644 --- a/lib/kstrtox.c +++ b/lib/kstrtox.c @@ -357,6 +357,7 @@ int kstrtobool(const char *s, bool *res) default: break; } + break; default: break; } diff --git a/lib/strtox.c b/lib/strtox.c index b11cc8c969..679a747173 100644 --- a/lib/strtox.c +++ b/lib/strtox.c @@ -105,6 +105,7 @@ s64 simple_strtofract(const char *cp, char **endp, u32 division) fallthrough; case '+': cp++; + break; } if (!isdigit(*cp)) -- 2.48.1