Re: [PATCH v14 3/9] ref_tracker: have callers pass output function to pr_ostream()

From: Krzysztof Karas
Date: Wed Jun 11 2025 - 05:48:04 EST


Hi Jeff,

> In a later patch, we'll be adding a 3rd mechanism for outputting
> ref_tracker info via seq_file. Instead of a conditional, have the caller
> set a pointer to an output function in struct ostream. As part of this,
> the log prefix must be explicitly passed in, as it's too late for the
> pr_fmt macro.
>
> Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---

Looks good:
Reviewed-by: Krzysztof Karas <krzysztof.karas@xxxxxxxxx>

Best Regards,
Krzysztof