Re: [PATCH v2 1/5] ftrace: Fix accounting of adding subops to a manager ops

From: Google
Date: Thu Feb 20 2025 - 01:59:09 EST


On Wed, 19 Feb 2025 17:04:37 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> @@ -3292,16 +3299,18 @@ static int intersect_hash(struct ftrace_hash **hash, struct ftrace_hash *new_has
> /* Return a new hash that has a union of all @ops->filter_hash entries */
> static struct ftrace_hash *append_hashes(struct ftrace_ops *ops)
> {
> - struct ftrace_hash *new_hash;
> + struct ftrace_hash *new_hash = NULL;

Isn't this "= EMPTY_HASH"?

Thank you,


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>