All of lore.kernel.org
 help / color / mirror / Atom feed
* [stable:linux-5.9.y 858/2105] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y
@ 2020-12-09  1:17 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-09  1:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2892 bytes --]

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
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 <rong.a.chen@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

_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31048 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [stable:linux-5.9.y 858/2105] drivers/net/xen-netback/interface.c:170:49: sparse: sparse: dubious: !x | !y
@ 2020-12-08 19:48 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-08 19:48 UTC (permalink / raw)
  To: kbuild

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-09  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2020-12-08 19:48 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.