summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorChen Gang <xili_gchen_5257@hotmail.com>2015-04-01 21:03:33 +0200
committerMark Brown <broonie@kernel.org>2015-04-01 22:28:56 +0200
commit057f6061a1972b0d63383cbbbb98795e8ef0a752 (patch)
treea9cb171a078124340f2514089987a992b0ce9293 /samples
parentLinux 4.0-rc1 (diff)
downloadlinux-057f6061a1972b0d63383cbbbb98795e8ef0a752.tar.xz
linux-057f6061a1972b0d63383cbbbb98795e8ef0a752.zip
spi: spi-bfin5xx: Initialize cr_width in bfin_spi_pump_transfers()
cr_width may be not initialized before using by cr, the related warning (with defconfig under blackfin by gcc5): CC drivers/spi/spi-bfin5xx.o drivers/spi/spi-bfin5xx.c: In function 'bfin_spi_pump_transfers': drivers/spi/spi-bfin5xx.c:655:5: warning: 'cr_width' may be used uninitialized in this function [-Wmaybe-uninitialized] cr |= cr_width; ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions