[openeuler:openEuler-1.0-LTS 14630/22010] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y

tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: 6726609c5990ede3a9fdb318d1dc759d03678a1a commit: b8f0cb59f64793764cac8b6db7bee9b6157ceb7e [14630/22010] xen/netback: use lateeoi irq binding config: arm64-randconfig-r111-20240331 (https://download.01.org/0day-ci/archive/20240401/202404010015.DyEtZXqZ-lkp@i...) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240401/202404010015.DyEtZXqZ-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202404010015.DyEtZXqZ-lkp@intel.com/ All errors (new ones prefixed by >>): /tmp/ccycVvJJ.s: Assembler messages:
/tmp/ccycVvJJ.s:1072: Error: immediate out of range at operand 3 -- `bic w0,w1,5'
sparse warnings: (new ones prefixed by >>)
drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y
vim +170 drivers/net/xen-netback/interface.c 160 161 irqreturn_t xenvif_interrupt(int irq, void *dev_id) 162 { 163 struct xenvif_queue *queue = dev_id; 164 int old; 165 166 old = atomic_fetch_or(NETBK_COMMON_EOI, &queue->eoi_pending); 167 WARN(old, "Interrupt while EOI pending\n"); 168 169 /* Use bitwise or as we need to call both functions. */
170 if ((!xenvif_handle_tx_interrupt(queue) | 171 !xenvif_handle_rx_interrupt(queue))) { 172 atomic_andnot(NETBK_COMMON_EOI, &queue->eoi_pending); 173 xen_irq_lateeoi(irq, XEN_EOI_FLAG_SPURIOUS); 174 } 175 176 return IRQ_HANDLED; 177 } 178
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot