All of lore.kernel.org
 help / color / mirror / Atom feed
* [block:io_uring-5.6 3/11] include/linux/eventfd.h:43:22: error: unknown type name 'eventfd_wake_count'
@ 2020-02-03  2:03 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-03  2:03 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-5.6
head:   b991f4b15521532bb9754c8c41a3856d525ab8eb
commit: 9a9f718763cf29faf018687b05cc0aac434fe2b8 [3/11] eventfd: track eventfd_signal() recursion depth
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9a9f718763cf29faf018687b05cc0aac434fe2b8
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/vhost/vhost.c:13:0:
>> include/linux/eventfd.h:43:22: error: unknown type name 'eventfd_wake_count'
    DECLARE_PER_CPU(int, eventfd_wake_count);
                         ^~~~~~~~~~~~~~~~~~
   include/linux/eventfd.h: In function 'eventfd_signal_count':
>> include/linux/eventfd.h:47:9: error: implicit declaration of function 'this_cpu_read'; did you mean 'spin_cpu_relax'? [-Werror=implicit-function-declaration]
     return this_cpu_read(eventfd_wake_count);
            ^~~~~~~~~~~~~
            spin_cpu_relax
>> include/linux/eventfd.h:47:23: error: 'eventfd_wake_count' undeclared (first use in this function); did you mean 'eventfd_signal_count'?
     return this_cpu_read(eventfd_wake_count);
                          ^~~~~~~~~~~~~~~~~~
                          eventfd_signal_count
   include/linux/eventfd.h:47:23: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +/eventfd_wake_count +43 include/linux/eventfd.h

    34	
    35	void eventfd_ctx_put(struct eventfd_ctx *ctx);
    36	struct file *eventfd_fget(int fd);
    37	struct eventfd_ctx *eventfd_ctx_fdget(int fd);
    38	struct eventfd_ctx *eventfd_ctx_fileget(struct file *file);
    39	__u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n);
    40	int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait,
    41					  __u64 *cnt);
    42	
  > 43	DECLARE_PER_CPU(int, eventfd_wake_count);
    44	
    45	static inline bool eventfd_signal_count(void)
    46	{
  > 47		return this_cpu_read(eventfd_wake_count);
    48	}
    49	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-03  2:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-03  2:03 [block:io_uring-5.6 3/11] include/linux/eventfd.h:43:22: error: unknown type name 'eventfd_wake_count' kbuild 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.