All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:openEuler-1.0-LTS 14630/22010] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y
@ 2024-03-31 16:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-31 16:56 UTC (permalink / raw)
  To: kernel, Yang Yingliang; +Cc: oe-kbuild-all

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@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240401/202404010015.DyEtZXqZ-lkp@intel.com/reproduce)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-31 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-31 16:56 [openeuler:openEuler-1.0-LTS 14630/22010] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.