drivers/spi/spi.c:3078:38-40: WARNING !A || A && B is equivalent to !A || B
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ae3419fbac845b4d3f3a9fae4cc80c68d82cdf6e commit: 76a85704cb917e3b25e00f02d5fd46e4e0a9077d spi: spi-mem: Allow controller supporting mem_ops without exec_op date: 3 weeks ago config: nios2-randconfig-c031-20230226 (https://download.01.org/0day-ci/archive/20230301/[email protected]/config) compiler: nios2-linux-gcc (GCC) 12.1.0
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
cocci warnings: (new ones prefixed by >>)
>> drivers/spi/spi.c:3078:38-40: WARNING !A || A && B is equivalent to !A || B
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests