diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-12 17:41:03 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-10-14 00:58:25 +0200 |
commit | 9bc70e6919f8cab80d5b240493007e4cce85559c (patch) | |
tree | 90cf4d2070153b753acbceb1f22e10a9c6351be1 /drivers/cpufreq/speedstep-lib.c | |
parent | 248aefdcc3a7e0cfbd014946b4dead63e750e71b (diff) | |
download | linux-9bc70e6919f8cab80d5b240493007e4cce85559c.tar.gz linux-9bc70e6919f8cab80d5b240493007e4cce85559c.tar.bz2 linux-9bc70e6919f8cab80d5b240493007e4cce85559c.zip |
cpufreq: speedstep-lib: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/speedstep-lib.c')
-rw-r--r-- | drivers/cpufreq/speedstep-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/speedstep-lib.c b/drivers/cpufreq/speedstep-lib.c index ccab452a4ef5..8085ec9000d1 100644 --- a/drivers/cpufreq/speedstep-lib.c +++ b/drivers/cpufreq/speedstep-lib.c @@ -367,7 +367,7 @@ unsigned int speedstep_detect_processor(void) } else return SPEEDSTEP_CPU_PIII_C; } - + /* fall through */ default: return 0; } |