[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbVP4HL3UO9mfbRWCxfJ5e1v8PBm5sqfpCNXwcbaq=O5w@mail.gmail.com>
Date: Thu, 12 May 2022 22:49:30 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Puyou Lu <puyou.lu@...il.com>, Tejun Heo <tj@...nel.org>
Cc: Andy Shevchenko <andy@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Petr Mladek <pmladek@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Chris Down <chris@...isdown.name>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lib/string_helpers: add allocated strarray to device resource.
On Fri, May 6, 2022 at 4:28 AM Puyou Lu <puyou.lu@...il.com> wrote:
> This is a must to automatically release strarray when the device
> disappears.
>
> Signed-off-by: Puyou Lu <puyou.lu@...il.com>
Looks correct to me.
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
(But really Tejun is the one who knows how devres is supposed
to be used, added on To: line)
Yours,
Linus Walleij
Powered by blists - more mailing lists