oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org, Yang Yingliang <yangyingliang@huawei.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:openEuler-1.0-LTS 14630/22010] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y
Date: Mon, 1 Apr 2024 00:56:52 +0800	[thread overview]
Message-ID: <202404010015.DyEtZXqZ-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-03-31 16:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202404010015.DyEtZXqZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kernel@openeuler.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yangyingliang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).