netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: John Ousterhout <ouster@cs.stanford.edu>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, John Ousterhout <ouster@cs.stanford.edu>
Subject: Re: [PATCH net-next 12/12] net: homa: create Makefile and Kconfig
Date: Wed, 30 Oct 2024 09:09:11 +0800	[thread overview]
Message-ID: <202410300823.rFSVqCH5-lkp@intel.com> (raw)
In-Reply-To: <20241028213541.1529-13-ouster@cs.stanford.edu>

Hi John,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/John-Ousterhout/net-homa-define-user-visible-API-for-Homa/20241029-095137
base:   net-next/main
patch link:    https://lore.kernel.org/r/20241028213541.1529-13-ouster%40cs.stanford.edu
patch subject: [PATCH net-next 12/12] net: homa: create Makefile and Kconfig
config: arc-randconfig-r132-20241029 (https://download.01.org/0day-ci/archive/20241030/202410300823.rFSVqCH5-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241030/202410300823.rFSVqCH5-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/202410300823.rFSVqCH5-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   net/homa/homa_rpc.c: note: in included file:
>> net/homa/homa_impl.h:605:13: sparse: sparse: restricted __be32 degrades to integer
   net/homa/homa_rpc.c: note: in included file (through include/linux/smp.h, include/linux/lockdep.h, include/linux/spinlock.h, ...):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   net/homa/homa_rpc.c:84:9: sparse: sparse: context imbalance in 'homa_rpc_new_client' - different lock contexts for basic block
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   net/homa/homa_rpc.c:104:17: sparse: sparse: context imbalance in 'homa_rpc_new_server' - wrong count at exit
   net/homa/homa_rpc.c: note: in included file (through include/linux/rculist.h, include/linux/sched/signal.h, include/linux/ptrace.h, ...):
   include/linux/rcupdate.h:881:9: sparse: sparse: context imbalance in 'homa_rpc_acked' - unexpected unlock
   net/homa/homa_rpc.c: note: in included file (through include/linux/smp.h, include/linux/lockdep.h, include/linux/spinlock.h, ...):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   net/homa/homa_rpc.c:235:6: sparse: sparse: context imbalance in 'homa_rpc_free' - different lock contexts for basic block
   net/homa/homa_rpc.c:311:5: sparse: sparse: context imbalance in 'homa_rpc_reap' - wrong count at exit
   net/homa/homa_rpc.c:448:17: sparse: sparse: context imbalance in 'homa_find_client_rpc' - wrong count at exit
   net/homa/homa_rpc.c:474:17: sparse: sparse: context imbalance in 'homa_find_server_rpc' - wrong count at exit
--
>> net/homa/homa_sock.c:85:39: sparse: sparse: cast removes address space '__rcu' of expression
   net/homa/homa_sock.c:91:31: sparse: sparse: cast removes address space '__rcu' of expression
   net/homa/homa_sock.c:165:6: sparse: sparse: context imbalance in 'homa_sock_shutdown' - wrong count at exit
   net/homa/homa_sock.c:243:5: sparse: sparse: context imbalance in 'homa_sock_bind' - different lock contexts for basic block
   net/homa/homa_sock.c:312:6: sparse: sparse: context imbalance in 'homa_sock_lock_slow' - wrong count at exit
   net/homa/homa_sock.c:326:6: sparse: sparse: context imbalance in 'homa_bucket_lock_slow' - wrong count at exit

vim +605 net/homa/homa_impl.h

1416f12d4ea455 John Ousterhout 2024-10-28  595  
1416f12d4ea455 John Ousterhout 2024-10-28  596  /**
1416f12d4ea455 John Ousterhout 2024-10-28  597   * Given an IPv4 address, return an equivalent IPv6 address (an IPv4-mapped
1416f12d4ea455 John Ousterhout 2024-10-28  598   * one)
1416f12d4ea455 John Ousterhout 2024-10-28  599   * @ip4: IPv4 address, in network byte order.
1416f12d4ea455 John Ousterhout 2024-10-28  600   */
1416f12d4ea455 John Ousterhout 2024-10-28  601  static inline struct in6_addr ipv4_to_ipv6(__be32 ip4)
1416f12d4ea455 John Ousterhout 2024-10-28  602  {
1416f12d4ea455 John Ousterhout 2024-10-28  603  	struct in6_addr ret = {};
1416f12d4ea455 John Ousterhout 2024-10-28  604  
1416f12d4ea455 John Ousterhout 2024-10-28 @605  	if (ip4 == INADDR_ANY)
1416f12d4ea455 John Ousterhout 2024-10-28  606  		return in6addr_any;
1416f12d4ea455 John Ousterhout 2024-10-28  607  	ret.in6_u.u6_addr32[2] = htonl(0xffff);
1416f12d4ea455 John Ousterhout 2024-10-28  608  	ret.in6_u.u6_addr32[3] = ip4;
1416f12d4ea455 John Ousterhout 2024-10-28  609  	return ret;
1416f12d4ea455 John Ousterhout 2024-10-28  610  }
1416f12d4ea455 John Ousterhout 2024-10-28  611  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2024-10-30  1:09 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-28 21:35 [PATCH net-next 00/12] Begin upstreaming Homa transport protocol John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 01/12] net: homa: define user-visible API for Homa John Ousterhout
2024-10-29 21:59   ` Andrew Lunn
2024-10-30  4:06     ` John Ousterhout
2024-10-30 12:41       ` Andrew Lunn
2024-11-01 17:47         ` John Ousterhout
2024-11-01 18:01           ` Andrew Lunn
2024-11-07 21:58   ` Edward Cree
2024-11-08 17:55     ` John Ousterhout
2024-11-08 22:02       ` Edward Cree
2024-11-08 22:32         ` Stephen Hemminger
2024-10-28 21:35 ` [PATCH net-next 02/12] net: homa: define Homa packet formats John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 03/12] net: homa: create shared Homa header files John Ousterhout
2024-10-29  6:47   ` kernel test robot
2024-11-02 19:39     ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 04/12] net: homa: create homa_pool.h and homa_pool.c John Ousterhout
2024-10-30  0:09   ` Andrew Lunn
2024-10-30  4:15     ` John Ousterhout
2024-10-30 12:54       ` Andrew Lunn
2024-10-30 15:48         ` John Ousterhout
2024-11-04 13:12           ` Przemek Kitszel
2024-11-04 23:57             ` John Ousterhout
     [not found]         ` <CAGXJAmyLsx9DPGdhZwPxn0wXjFAFV3dqjhFHpaBLtKZ1mtYBSQ@mail.gmail.com>
     [not found]           ` <16f2e9cc-9b5e-4325-b5c7-fe7fd72600a8@lunn.ch>
2024-10-30 20:13             ` John Ousterhout
2024-10-30 20:17             ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 05/12] net: homa: create homa_rpc.h and homa_rpc.c John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 06/12] net: homa: create homa_peer.h and homa_peer.c John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 07/12] net: homa: create homa_sock.h and homa_sock.c John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 08/12] net: homa: create homa_incoming.c John Ousterhout
2024-10-30  1:13   ` Andrew Lunn
2024-10-30  4:51     ` John Ousterhout
2024-10-30 13:06       ` Andrew Lunn
2024-10-30 15:49         ` John Ousterhout
2024-10-30 18:23   ` Eric Dumazet
2024-10-30 18:33     ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 09/12] net: homa: create homa_outgoing.c John Ousterhout
2024-10-30  0:42   ` Andrew Lunn
2024-10-30  4:30     ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 10/12] net: homa: create homa_timer.c John Ousterhout
2024-10-30 19:02   ` Eric Dumazet
2024-10-31 18:55     ` John Ousterhout
2024-10-28 21:35 ` [PATCH net-next 11/12] net: homa: create homa_plumbing.c homa_utils.c John Ousterhout
2024-10-30  1:03   ` Andrew Lunn
2024-10-28 21:35 ` [PATCH net-next 12/12] net: homa: create Makefile and Kconfig John Ousterhout
2024-10-29 14:00   ` kernel test robot
2024-10-29 14:21   ` kernel test robot
2024-10-29 18:42   ` kernel test robot
2024-10-30  1:09   ` kernel test robot [this message]
2024-11-03  0:11     ` John Ousterhout

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=202410300823.rFSVqCH5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ouster@cs.stanford.edu \
    /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).