summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Gang <xili_gchen_5257@hotmail.com>2015-04-02 03:03:33 +0800
committerMark Brown <broonie@kernel.org>2015-04-01 21:28:56 +0100
commit057f6061a1972b0d63383cbbbb98795e8ef0a752 (patch)
treea9cb171a078124340f2514089987a992b0ce9293 /include
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions