From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 08/21] misc: add shqueue.h for prototyping
Date: Fri, 19 Jun 2020 08:09:21 +0800 [thread overview]
Message-ID: <202006190831.Ml2SYzHr%lkp@intel.com> (raw)
In-Reply-To: <20200618160941.879717-9-jonathan.lemon@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5037 bytes --]
Hi Jonathan,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net/master]
[also build test ERROR on linus/master v5.8-rc1 next-20200618]
[cannot apply to char-misc/char-misc-testing net-next/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jonathan-Lemon/netgpu-networking-between-NIC-and-GPU-CPU/20200619-001526
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git ef7232da6bcd4294cbb2d424bc35885721570f01
config: x86_64-randconfig-s021-20200618 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-10-gc17b1b06-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:32:
>> ./usr/include/misc/shqueue.h:10:16: error: expected ':', ',', ';', '}' or '__attribute__' before '____cacheline_aligned_in_smp'
10 | unsigned prod ____cacheline_aligned_in_smp;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./usr/include/misc/shqueue.h: In function '__sq_load_acquire_cons':
>> ./usr/include/misc/shqueue.h:38:19: error: implicit declaration of function 'READ_ONCE' [-Werror=implicit-function-declaration]
38 | q->cached_cons = READ_ONCE(*q->cons);
| ^~~~~~~~~
./usr/include/misc/shqueue.h: In function '__sq_store_release_cons':
>> ./usr/include/misc/shqueue.h:44:2: error: implicit declaration of function 'smp_mb' [-Werror=implicit-function-declaration]
44 | smp_mb(); /* D, matches A */
| ^~~~~~
>> ./usr/include/misc/shqueue.h:45:2: error: implicit declaration of function 'WRITE_ONCE' [-Werror=implicit-function-declaration]
45 | WRITE_ONCE(*q->cons, q->cached_cons);
| ^~~~~~~~~~
./usr/include/misc/shqueue.h: In function '__sq_load_acquire_prod':
>> ./usr/include/misc/shqueue.h:52:2: error: implicit declaration of function 'smp_rmb' [-Werror=implicit-function-declaration]
52 | smp_rmb(); /* C, matches B */
| ^~~~~~~
./usr/include/misc/shqueue.h: In function '__sq_store_release_prod':
>> ./usr/include/misc/shqueue.h:57:2: error: implicit declaration of function 'smp_wmb' [-Werror=implicit-function-declaration]
57 | smp_wmb(); /* B, matches C */
| ^~~~~~~
./usr/include/misc/shqueue.h: At top level:
>> ./usr/include/misc/shqueue.h:67:19: error: unknown type name 'bool'
67 | static __inline__ bool sq_empty(struct shared_queue *q)
| ^~~~
./usr/include/misc/shqueue.h:72:19: error: unknown type name 'bool'
72 | static __inline__ bool sq_cons_empty(struct shared_queue *q)
| ^~~~
./usr/include/misc/shqueue.h:90:19: error: unknown type name 'bool'
90 | static __inline__ bool sq_cons_avail(struct shared_queue *q, unsigned count)
| ^~~~
./usr/include/misc/shqueue.h: In function 'sq_cons_avail':
>> ./usr/include/misc/shqueue.h:93:10: error: 'true' undeclared (first use in this function)
93 | return true;
| ^~~~
./usr/include/misc/shqueue.h:93:10: note: each undeclared identifier is reported only once for each function it appears in
./usr/include/misc/shqueue.h: In function 'sq_cons_peek':
>> ./usr/include/misc/shqueue.h:113:11: error: 'NULL' undeclared (first use in this function)
113 | return NULL;
| ^~~~
./usr/include/misc/shqueue.h:1:1: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
+++ |+#include <stddef.h>
1 | #pragma once
./usr/include/misc/shqueue.h: At top level:
./usr/include/misc/shqueue.h:181:19: error: unknown type name 'bool'
181 | static __inline__ bool sq_prod_avail(struct shared_queue *q, unsigned count)
| ^~~~
./usr/include/misc/shqueue.h: In function 'sq_prod_avail':
./usr/include/misc/shqueue.h:184:10: error: 'true' undeclared (first use in this function)
184 | return true;
| ^~~~
./usr/include/misc/shqueue.h: In function 'sq_prod_reserve':
./usr/include/misc/shqueue.h:197:10: error: 'NULL' undeclared (first use in this function)
197 | return NULL;
| ^~~~
./usr/include/misc/shqueue.h:197:10: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
cc1: some warnings being treated as errors
---
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: 33094 bytes --]
next prev parent reply other threads:[~2020-06-19 0:09 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-18 16:09 [RFC PATCH 00/21] netgpu: networking between NIC and GPU/CPU Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 01/21] mm: add {add|release}_memory_pages Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 02/21] mm: Allow DMA mapping of pages which are not online Jonathan Lemon
2020-06-18 17:49 ` kernel test robot
2020-06-19 2:25 ` kernel test robot
2020-06-18 16:09 ` [RFC PATCH 03/21] tcp: Pad TCP options out to a fixed size Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 04/21] mlx5: add definitions for header split and netgpu Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 05/21] mlx5/xsk: check that xsk does not conflict with netgpu Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 06/21] mlx5: add header_split flag Jonathan Lemon
2020-06-18 18:12 ` Eric Dumazet
2020-06-18 20:25 ` Michal Kubecek
2020-06-18 22:45 ` Eric Dumazet
2020-06-18 21:50 ` Jonathan Lemon
2020-06-18 22:34 ` Eric Dumazet
2020-06-18 22:36 ` Eric Dumazet
2020-06-19 0:17 ` kernel test robot
2020-06-18 16:09 ` [RFC PATCH 07/21] mlx5: remove the umem parameter from mlx5e_open_channel Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 08/21] misc: add shqueue.h for prototyping Jonathan Lemon
2020-06-19 0:09 ` kernel test robot [this message]
2020-06-18 16:09 ` [RFC PATCH 09/21] include: add definitions for netgpu Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 10/21] mlx5: add netgpu queue functions Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 11/21] skbuff: add a zc_netgpu bitflag Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 12/21] mlx5: hook up the netgpu channel functions Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 13/21] netdevice: add SETUP_NETGPU to the netdev_bpf structure Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 14/21] kernel: export free_uid Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 15/21] netgpu: add network/gpu dma module Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 16/21] lib: have __zerocopy_sg_from_iter get netgpu pages for a sk Jonathan Lemon
2020-06-18 21:58 ` kernel test robot
2020-06-18 22:16 ` kernel test robot
2020-06-18 16:09 ` [RFC PATCH 17/21] net/core: add the SO_REGISTER_DMA socket option Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 18/21] tcp: add MSG_NETDMA flag for sendmsg() Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 19/21] core: add page recycling logic for netgpu pages Jonathan Lemon
2020-06-19 0:20 ` kernel test robot
2020-06-18 16:09 ` [RFC PATCH 20/21] core/skbuff: use skb_zdata for testing whether skb is zerocopy Jonathan Lemon
2020-06-18 16:09 ` [RFC PATCH 21/21] mlx5: add XDP_SETUP_NETGPU hook Jonathan Lemon
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=202006190831.Ml2SYzHr%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@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.