Skip to content

Commit

Permalink
cpufreq: speedstep-lib: mark expected switch fall-through
Browse files Browse the repository at this point in the history
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
GustavoARSilva authored and rafaeljw committed Oct 13, 2017
1 parent 248aefd commit 9bc70e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/speedstep-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ unsigned int speedstep_detect_processor(void)
} else
return SPEEDSTEP_CPU_PIII_C;
}

/* fall through */
default:
return 0;
}
Expand Down

0 comments on commit 9bc70e6

Please sign in to comment.