Messages in this thread | | | Date | Wed, 15 Sep 2021 20:17:09 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH v3 3/3] bootconfig: Free xbc_data in xbc_destroy_all() |
| |
On Thu, 16 Sep 2021 09:05:03 +0900 Masami Hiramatsu <mhiramat@kernel.org> wrote:
> Ah, it is my policy that the error or information message is shown > by caller (since caller can also ignore that, e.g. passing the > testing data), not from the library code. > I learned that from perf-probe and ftrace, sometimes the library > code reused in unexpected way. So I decided to decouple the > generating error message and showing it.
OK, then we can just pass the number of nodes allocated via a pointer to an integer.
Thanks!
-- Steve
| |