aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cppc_cpufreq.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-09-27 09:51:44 +0000
committerViresh Kumar <[email protected]>2021-10-04 06:13:14 +0000
commit08ef8d35a826ccf3ddddf7bfb7d84aaa22e8a4c4 (patch)
tree5171c4644d467862903ec5f9aa338878ff9e7dfd /drivers/cpufreq/cppc_cpufreq.c
parentcpufreq: vexpress: Drop unused variable (diff)
downloadkernel-08ef8d35a826ccf3ddddf7bfb7d84aaa22e8a4c4.tar.gz
kernel-08ef8d35a826ccf3ddddf7bfb7d84aaa22e8a4c4.zip
cpufreq: s3c244x: add fallthrough comments for switch
Apparently nobody has so far caught this warning, I hit it in randconfig build testing: drivers/cpufreq/s3c2440-cpufreq.c: In function 's3c2440_cpufreq_setdivs': drivers/cpufreq/s3c2440-cpufreq.c:175:10: error: this statement may fall through [-Werror=implicit-fallthrough=] camdiv |= S3C2440_CAMDIVN_HCLK3_HALF; ^ drivers/cpufreq/s3c2440-cpufreq.c:176:2: note: here case 3: ^~~~ drivers/cpufreq/s3c2440-cpufreq.c:181:10: error: this statement may fall through [-Werror=implicit-fallthrough=] camdiv |= S3C2440_CAMDIVN_HCLK4_HALF; ^ drivers/cpufreq/s3c2440-cpufreq.c:182:2: note: here case 4: ^~~~ Both look like the fallthrough is intentional, so add the new "fallthrough;" keyword. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions