summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-lantiq-ssc.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-03-07 15:36:28 -0700
committerThierry Reding <thierry.reding@gmail.com>2019-03-20 12:29:22 +0100
commit44481955eab7029b58c956d64485fece6f12a53f (patch)
tree8402b00fd5481f9973bcd60b3ecc95d3a0385faa /drivers/spi/spi-lantiq-ssc.c
parent347ab9480313737c0f1aaa08e8f2e1a791235535 (diff)
downloadlinux-44481955eab7029b58c956d64485fece6f12a53f.tar.gz
linux-44481955eab7029b58c956d64485fece6f12a53f.tar.bz2
linux-44481955eab7029b58c956d64485fece6f12a53f.zip
pwm: img: Turn final 'else if' into 'else' in img_pwm_config
When building with -Wsometimes-uninitialized, Clang warns: drivers/pwm/pwm-img.c:126:13: error: variable 'timebase' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] The final else if functions as an else; make that explicit so that Clang understands that timebase cannot be used uninitialized. Link: https://github.com/ClangBuiltLinux/linux/issues/400 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/spi/spi-lantiq-ssc.c')
0 files changed, 0 insertions, 0 deletions