Subject: linux-next: build failure after merge of the ftrace tree

From: Mark Brown <[email-masked]>
Date: Thu, 2 Oct 2025 16:50:38 +0100

Hi all,

After merging the ftrace tree, today's linux-next build (x86_64
allmodconfig) failed like this:

/tmp/next/build/kernel/trace/trace_wprobe.c: In function '__register_trace_wprobe':
/tmp/next/build/kernel/trace/trace_wprobe.c:176:20: error: cast to generic address space pointer from disjoint '__seg_gs' address space pointer [-Werror]
  176 |         if (IS_ERR((void * __force)tw->bp_event)) {
      |                    ^
/tmp/next/build/kernel/trace/trace_wprobe.c:177:35: error: cast to generic address space pointer from disjoint '__seg_gs' address space pointer [-Werror]
  177 |                 int ret = PTR_ERR((void * __force)tw->bp_event);
      |                                   ^

Caused by commit

   eaa7b0b3b9875 ("tracing: wprobe: Add watchpoint probe event based on hardware breakpoint")

I have used the version from 20250929 instead.