* [android-common:android12-5.10 1/1] include/trace/hooks/ipv4.h:12:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2021-08-21 17:16 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-21 17:16 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3010 bytes --]
tree: https://android.googlesource.com/kernel/common android12-5.10
head: 81c8161bed77ae0da88c78ff822220ba1a2a7a8a
commit: 81c8161bed77ae0da88c78ff822220ba1a2a7a8a [1/1] ANDROID: vendor_hooks: Add hooks to tcp/udp send/recv msg functions.
config: x86_64-randconfig-s021-20210821 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-dirty
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout 81c8161bed77ae0da88c78ff822220ba1a2a7a8a
# 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 >>)
net/ipv4/tcp.c: note: in included file (through include/net/inet_sock.h, include/net/ip.h, include/linux/errqueue.h):
include/net/sock.h:1621:31: sparse: sparse: context imbalance in 'tcp_ioctl' - unexpected unlock
net/ipv4/tcp.c: note: in included file:
>> include/trace/hooks/ipv4.h:12:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/ipv4.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/ipv4.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/ipv4.h:16:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/ipv4.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/ipv4.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/ipv4.h:28:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/ipv4.h:28:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/ipv4.h:28:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
net/ipv4/tcp.c: note: in included file (through include/net/inet_sock.h, include/net/ip.h, include/linux/errqueue.h):
include/net/sock.h:1621:31: sparse: sparse: context imbalance in 'tcp_get_info' - unexpected unlock
vim +12 include/trace/hooks/ipv4.h
11
> 12 DECLARE_RESTRICTED_HOOK(android_rvh_tcp_sendmsg_locked,
13 TP_PROTO(struct sock *sk, int size),
14 TP_ARGS(sk, size), 1);
15
---
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: 39572 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [android-common:android12-5.10 1/1] include/trace/hooks/ipv4.h:12:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2021-09-19 22:00 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-19 22:00 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2992 bytes --]
tree: https://android.googlesource.com/kernel/common android12-5.10
head: 81c8161bed77ae0da88c78ff822220ba1a2a7a8a
commit: 81c8161bed77ae0da88c78ff822220ba1a2a7a8a [1/1] ANDROID: vendor_hooks: Add hooks to tcp/udp send/recv msg functions.
config: i386-randconfig-s001-20210918 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout 81c8161bed77ae0da88c78ff822220ba1a2a7a8a
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
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 >>)
net/ipv4/tcp.c: note: in included file (through include/net/inet_sock.h, include/net/ip.h, include/linux/errqueue.h):
include/net/sock.h:1621:31: sparse: sparse: context imbalance in 'tcp_ioctl' - unexpected unlock
net/ipv4/tcp.c: note: in included file:
>> include/trace/hooks/ipv4.h:12:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/ipv4.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/ipv4.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/ipv4.h:16:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/ipv4.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/ipv4.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/ipv4.h:28:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/ipv4.h:28:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/ipv4.h:28:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
net/ipv4/tcp.c: note: in included file (through include/net/inet_sock.h, include/net/ip.h, include/linux/errqueue.h):
include/net/sock.h:1621:31: sparse: sparse: context imbalance in 'tcp_get_info' - unexpected unlock
vim +12 include/trace/hooks/ipv4.h
11
> 12 DECLARE_RESTRICTED_HOOK(android_rvh_tcp_sendmsg_locked,
13 TP_PROTO(struct sock *sk, int size),
14 TP_ARGS(sk, size), 1);
15
---
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: 38961 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-19 22:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 17:16 [android-common:android12-5.10 1/1] include/trace/hooks/ipv4.h:12:1: sparse: sparse: incorrect type in assignment (different address spaces) kernel test robot
2021-09-19 22:00 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.