On Fri, 2 Jan 2026 13:56:30 -0500 Steven Rostedt <[email protected]> wrote:
> > 1031 /* Save this function pointer to see if the exit > > matches */ > > 1032 if (call->depth < FTRACE_RETFUNC_DEPTH && > > --> 1033 !WARN_ON_ONCE(call->depth < 0)) > > ^^^^^^^^^^^^^^^ > > The patch changed call->depth from int to unsigned long. > > Yep, I'm fixing this with: > > !WARN_ON_ONCE((long)call->depth < 0)) > Thinking about this more. I think it is more robust to change depth to "long" from "unsigned long" in case there's other locations that expect depth to be signed. -- Steve
