diff options
author | Jay Fang <f.fangjian@huawei.com> | 2021-03-04 11:47:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 13:47:01 +0100 |
commit | 31890269c0a031e704f995bbd39e1fd77a381207 (patch) | |
tree | 18c6f62a4156825dbed332329c9966cc41851c12 /block/genhd.c | |
parent | Merge series "parport: Introduce module_parport_driver() and use it" from And... (diff) | |
download | linux-31890269c0a031e704f995bbd39e1fd77a381207.tar.xz linux-31890269c0a031e704f995bbd39e1fd77a381207.zip |
spi: cadence-quadspi: Silence shiftTooManyBitsSigned warning
drivers/spi/spi-cadence-quadspi.c:267:18: warning: Shifting signed 32-bit
value by 31 bits is undefined behaviour [shiftTooManyBitsSigned]
return reg & (1 << CQSPI_REG_CONFIG_IDLE_LSB);
^
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1614854872-8694-1-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions