lkml.org 
[lkml]   [2021]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2021-09-16 02:18    [W:3.704 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site