From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [stable:linux-5.9.y 858/2105] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y
Date: Wed, 09 Dec 2020 03:48:12 +0800 [thread overview]
Message-ID: <202012090302.n2ux28WY-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2981 bytes --]
CC: kbuild-all(a)lists.01.org
TO: Juergen Gross <jgross@suse.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Jan Beulich <jbeulich@suse.com>
CC: Wei Liu <wl@xen.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.9.y
head: 90daeb0fbf6497334e3ad3098b0a1c72f44d8716
commit: 23ba4f63296083481d975aeafead92c740ef04ad [858/2105] xen/netback: use lateeoi irq binding
:::::: branch date: 10 hours ago
:::::: commit date: 5 weeks ago
config: x86_64-randconfig-s022-20201209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-179-ga00755aa-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=23ba4f63296083481d975aeafead92c740ef04ad
git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --no-tags stable linux-5.9.y
git checkout 23ba4f63296083481d975aeafead92c740ef04ad
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"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
f942dc2552b8bf Ian Campbell 2011-03-15 160
f51de24356e49e Zoltan Kiss 2014-07-08 161 irqreturn_t xenvif_interrupt(int irq, void *dev_id)
e1f00a69ec26e3 Wei Liu 2013-05-22 162 {
23ba4f63296083 Juergen Gross 2020-09-07 163 struct xenvif_queue *queue = dev_id;
23ba4f63296083 Juergen Gross 2020-09-07 164 int old;
23ba4f63296083 Juergen Gross 2020-09-07 165
23ba4f63296083 Juergen Gross 2020-09-07 166 old = atomic_fetch_or(NETBK_COMMON_EOI, &queue->eoi_pending);
23ba4f63296083 Juergen Gross 2020-09-07 167 WARN(old, "Interrupt while EOI pending\n");
23ba4f63296083 Juergen Gross 2020-09-07 168
23ba4f63296083 Juergen Gross 2020-09-07 169 /* Use bitwise or as we need to call both functions. */
23ba4f63296083 Juergen Gross 2020-09-07 @170 if ((!xenvif_handle_tx_interrupt(queue) |
23ba4f63296083 Juergen Gross 2020-09-07 171 !xenvif_handle_rx_interrupt(queue))) {
23ba4f63296083 Juergen Gross 2020-09-07 172 atomic_andnot(NETBK_COMMON_EOI, &queue->eoi_pending);
23ba4f63296083 Juergen Gross 2020-09-07 173 xen_irq_lateeoi(irq, XEN_EOI_FLAG_SPURIOUS);
23ba4f63296083 Juergen Gross 2020-09-07 174 }
e1f00a69ec26e3 Wei Liu 2013-05-22 175
e1f00a69ec26e3 Wei Liu 2013-05-22 176 return IRQ_HANDLED;
e1f00a69ec26e3 Wei Liu 2013-05-22 177 }
e1f00a69ec26e3 Wei Liu 2013-05-22 178
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31048 bytes --]
next reply other threads:[~2020-12-08 19:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 19:48 kernel test robot [this message]
2020-12-09 1:17 [stable:linux-5.9.y 858/2105] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y kernel test robot
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=202012090302.n2ux28WY-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/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 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.