All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Menglong Dong <menglong8.dong@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH RFC bpf-next v2 1/4] fprobe: use rhltable for fprobe_ip_table
Date: Tue, 29 Jul 2025 16:25:23 +0800	[thread overview]
Message-ID: <202507291603.zTR0kmTf-lkp@intel.com> (raw)
In-Reply-To: <20250728072637.1035818-2-dongml2@chinatelecom.cn>

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

  parent reply	other threads:[~2025-07-29  8:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-28  7:22 [PATCH RFC bpf-next v2 0/4] fprobe: use rhashtable for fprobe_ip_table Menglong Dong
2025-07-28  7:22 ` [PATCH RFC bpf-next v2 1/4] fprobe: use rhltable " Menglong Dong
2025-07-29  1:42   ` Masami Hiramatsu
2025-07-29  1:55     ` Menglong Dong
2025-07-29  8:25   ` kernel test robot [this message]
2025-07-28  7:22 ` [PATCH RFC bpf-next v2 2/4] selftests/bpf: move get_ksyms and get_addrs to trace_helpers.c Menglong Dong
2025-07-28  7:22 ` [PATCH RFC bpf-next v2 3/4] selftests/bpf: skip recursive functions for kprobe_multi Menglong Dong
2025-07-28  7:22 ` [PATCH RFC bpf-next v2 4/4] selftests/bpf: add benchmark testing for kprobe-multi-all Menglong Dong
2025-07-28 12:35 ` [PATCH RFC bpf-next v2 0/4] fprobe: use rhashtable for fprobe_ip_table Masami Hiramatsu
2025-07-28 14:26   ` Menglong Dong
2025-07-28 23:53     ` Masami Hiramatsu
2025-07-28 13:59 ` Jiri Olsa
2025-07-28 14:27   ` Menglong Dong
2025-07-28 14:52   ` Menglong Dong

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=202507291603.zTR0kmTf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=menglong8.dong@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.