diff options
author | Gustavo A. R. Silva <[email protected]> | 2019-07-28 18:53:15 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <[email protected]> | 2019-08-09 19:46:05 -0500 |
commit | 795952d9f40c451a8b22c6610df1d59f57ce2046 (patch) | |
tree | 6920b0c0c6bb8b36b55fbb81b73ccc2063b5c1ba /tools/perf/util/c++/clang.cpp | |
parent | 3da6bd945b71c5fdd5db7b19224b8fc0b4d78ed8 (diff) |
mfd: db8500-prcmu: Mark expected switch fall-throughs
Mark switch cases where we are expecting to fall through.
This patch fixes the following warnings:
drivers/mfd/db8500-prcmu.c: In function 'dsiclk_rate':
drivers/mfd/db8500-prcmu.c:1592:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
div *= 2;
~~~~^~~~
drivers/mfd/db8500-prcmu.c:1593:2: note: here
case PRCM_DSI_PLLOUT_SEL_PHI_2:
^~~~
drivers/mfd/db8500-prcmu.c:1594:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
div *= 2;
~~~~^~~~
drivers/mfd/db8500-prcmu.c:1595:2: note: here
case PRCM_DSI_PLLOUT_SEL_PHI:
^~~~
Reported-by: Stephen Rothwell <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions