All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-5.4 18038/27779] include/trace/hooks/net.h:26:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2023-06-21 13:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-06-21 13:41 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android12-5.4
head:   29b74661c49e8dd78b13878e23f6e20910e52e39
commit: 48b03352a3bd46c2aec1804fd36fc78b4270e3d0 [18038/27779] ANDROID: GKI: net: add vendor hooks for 'struct sock' lifecycle
config: i386-randconfig-s003-20230620 (https://download.01.org/0day-ci/archive/20230621/202306212118.IyNw9Z2c-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230621/202306212118.IyNw9Z2c-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/202306212118.IyNw9Z2c-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   net/core/sock.c: note: in included file:
>> include/trace/hooks/net.h:26:1: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct tracepoint_func *it_func_ptr @@     got struct tracepoint_func [noderef] <asn:4> *funcs @@
   include/trace/hooks/net.h:26:1: sparse:     expected struct tracepoint_func *it_func_ptr
   include/trace/hooks/net.h:26:1: sparse:     got struct tracepoint_func [noderef] <asn:4> *funcs
   include/trace/hooks/net.h:28:1: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct tracepoint_func *it_func_ptr @@     got struct tracepoint_func [noderef] <asn:4> *funcs @@
   include/trace/hooks/net.h:28:1: sparse:     expected struct tracepoint_func *it_func_ptr
   include/trace/hooks/net.h:28:1: sparse:     got struct tracepoint_func [noderef] <asn:4> *funcs
   include/trace/hooks/net.h:28:1: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct tracepoint_func *it_func_ptr @@     got struct tracepoint_func [noderef] <asn:4> *funcs @@
   include/trace/hooks/net.h:28:1: sparse:     expected struct tracepoint_func *it_func_ptr
   include/trace/hooks/net.h:28:1: sparse:     got struct tracepoint_func [noderef] <asn:4> *funcs
   net/core/sock.c:1910:9: sparse: sparse: context imbalance in 'sk_clone_lock' - wrong count at exit
   net/core/sock.c:1914:6: sparse: sparse: context imbalance in 'sk_free_unlock_clone' - unexpected unlock
   net/core/sock.c:3003:6: sparse: sparse: context imbalance in 'lock_sock_fast' - different lock contexts for basic block
   net/core/sock.c:3502:13: sparse: sparse: context imbalance in 'proto_seq_start' - wrong count at exit
   net/core/sock.c:3514:13: sparse: sparse: context imbalance in 'proto_seq_stop' - wrong count at exit

vim +26 include/trace/hooks/net.h

    11	
    12	struct packet_type;
    13	struct list_head;
    14	struct sk_buff;
    15	struct nf_conn;
    16	struct sock;
    17	DECLARE_HOOK(android_vh_ptype_head,
    18		TP_PROTO(const struct packet_type *pt, struct list_head *vendor_pt),
    19		TP_ARGS(pt, vendor_pt));
    20	DECLARE_HOOK(android_vh_kfree_skb,
    21		TP_PROTO(struct sk_buff *skb), TP_ARGS(skb));
    22	DECLARE_RESTRICTED_HOOK(android_rvh_nf_conn_alloc,
    23		TP_PROTO(struct nf_conn *nf_conn), TP_ARGS(nf_conn), 1);
    24	DECLARE_RESTRICTED_HOOK(android_rvh_nf_conn_free,
    25		TP_PROTO(struct nf_conn *nf_conn), TP_ARGS(nf_conn), 1);
  > 26	DECLARE_RESTRICTED_HOOK(android_rvh_sk_alloc,
    27		TP_PROTO(struct sock *sock), TP_ARGS(sock), 1);
    28	DECLARE_RESTRICTED_HOOK(android_rvh_sk_free,
    29		TP_PROTO(struct sock *sock), TP_ARGS(sock), 1);
    30	

-- 
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:[~2023-06-21 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21 13:41 [android-common:android12-5.4 18038/27779] include/trace/hooks/net.h:26:1: sparse: sparse: incorrect type in assignment (different address spaces) 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.