llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH RFC bpf-next v2 1/4] fprobe: use rhltable for fprobe_ip_table
       [not found] <20250728072637.1035818-2-dongml2@chinatelecom.cn>
@ 2025-07-29  8:25 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-29  8:25 UTC (permalink / raw)
  To: Menglong Dong; +Cc: llvm, oe-kbuild-all

Hi Menglong,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Menglong-Dong/fprobe-use-rhltable-for-fprobe_ip_table/20250728-152930
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/20250728072637.1035818-2-dongml2%40chinatelecom.cn
patch subject: [PATCH RFC bpf-next v2 1/4] fprobe: use rhltable for fprobe_ip_table
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250729/202507291603.zTR0kmTf-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250729/202507291603.zTR0kmTf-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/202507291603.zTR0kmTf-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from kernel/trace/fprobe.c:8:
>> include/linux/fprobe.h:29:21: error: field has incomplete type 'struct rhlist_head'
      29 |         struct rhlist_head      hlist;
         |                                 ^
   include/linux/fprobe.h:29:9: note: forward declaration of 'struct rhlist_head'
      29 |         struct rhlist_head      hlist;
         |                ^
   kernel/trace/fprobe.c:71:17: error: initializer element is not a compile-time constant
      71 |         .key_offset             = offsetof(struct fprobe_hlist_node, addr),
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/stddef.h:16:32: note: expanded from macro 'offsetof'
      16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
         |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.
--
   In file included from kernel/trace/trace_fprobe.c:9:
>> include/linux/fprobe.h:29:21: error: field has incomplete type 'struct rhlist_head'
      29 |         struct rhlist_head      hlist;
         |                                 ^
   include/linux/fprobe.h:29:9: note: forward declaration of 'struct rhlist_head'
      29 |         struct rhlist_head      hlist;
         |                ^
   1 error generated.


vim +29 include/linux/fprobe.h

    11	
    12	struct fprobe;
    13	typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip,
    14				       unsigned long ret_ip, struct ftrace_regs *regs,
    15				       void *entry_data);
    16	
    17	typedef void (*fprobe_exit_cb)(struct fprobe *fp, unsigned long entry_ip,
    18				       unsigned long ret_ip, struct ftrace_regs *regs,
    19				       void *entry_data);
    20	
    21	/**
    22	 * struct fprobe_hlist_node - address based hash list node for fprobe.
    23	 *
    24	 * @hlist: The hlist node for address search hash table.
    25	 * @addr: One of the probing address of @fp.
    26	 * @fp: The fprobe which owns this.
    27	 */
    28	struct fprobe_hlist_node {
  > 29		struct rhlist_head	hlist;
    30		unsigned long		addr;
    31		struct fprobe		*fp;
    32	};
    33	

-- 
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:[~2025-07-29  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250728072637.1035818-2-dongml2@chinatelecom.cn>
2025-07-29  8:25 ` [PATCH RFC bpf-next v2 1/4] fprobe: use rhltable for fprobe_ip_table kernel test robot

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).