diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-01-30 12:40:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-01-30 18:27:21 +0300 |
commit | 6500ad28fd5d67d5ca0fee9da73c463090842440 (patch) | |
tree | 79db7c432ba39645157286a5062113922515e4ac /drivers/spi/spi-imx.c | |
parent | 8c2ae772fe08e33f3d7a83849e85539320701abd (diff) | |
download | linux-6500ad28fd5d67d5ca0fee9da73c463090842440.tar.xz |
spi: sh-msiof: avoid integer overflow in constants
cppcheck rightfully warned:
drivers/spi/spi-sh-msiof.c:792:28: warning: Signed integer overflow for expression '7<<29'. [integerOverflow]
sh_msiof_write(p, SIFCTR, SIFCTR_TFWM_1 | SIFCTR_RFWM_1);
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://msgid.link/r/20240130094053.10672-1-wsa+renesas@sang-engineering.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-imx.c')
0 files changed, 0 insertions, 0 deletions