summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGao Pan <pandy.gao@nxp.com>2016-11-24 19:04:43 +0800
committerMark Brown <broonie@kernel.org>2016-11-25 13:04:42 +0000
commite3a49390ebefec6f7e3d447b5ba3ba253dd51145 (patch)
tree20db3096f3560b816c88d47c220ea608dd48d4f2 /Makefile
parent3ffa1a5dc696f661754bf145813433fda92371b2 (diff)
spi: imx: fix potential shift truncation
There is a static checker warning in fsl_lpspi_set_cmd(). I intended to write "temp |= (fsl_lpspi->config.mode & 0x3) << 30", but used "temp |= (fsl_lpspi->config.mode & 0x11) << 30" by mistake. This patch fixes this potential shift truncation. Signed-off-by: Gao Pan <pandy.gao@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions