diff options
author | Mark Brown <broonie@linaro.org> | 2014-08-01 18:47:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-01 19:24:37 +0200 |
commit | d555ea05f9d8ebf567eaa6b4e4cb5776aacf2940 (patch) | |
tree | 04c2d993a28d78b78603cb67a85e70e9e8916979 /drivers/spi/spi-orion.c | |
parent | Linux 3.16-rc1 (diff) | |
download | linux-d555ea05f9d8ebf567eaa6b4e4cb5776aacf2940.tar.xz linux-d555ea05f9d8ebf567eaa6b4e4cb5776aacf2940.zip |
spi/pl022: Explicitly truncate large bitmask
When building on 64 bit architectures the use of bitwise negation generates
constants larger than 32 bits which won't fit in u32s used to represent
32 bit register values on the device. Explicitly cast to let the compiler
know that the higher bits are not significant and can be discarded.
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-orion.c')
0 files changed, 0 insertions, 0 deletions