All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Puyou Lu <puyou.lu@gmail.com>, Tejun Heo <tj@kernel.org>
Cc: Andy Shevchenko <andy@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kees Cook <keescook@chromium.org>, Petr Mladek <pmladek@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	Chris Down <chris@chrisdown.name>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lib/string_helpers: add allocated strarray to device resource.
Date: Thu, 12 May 2022 22:49:30 +0200	[thread overview]
Message-ID: <CACRpkdbVP4HL3UO9mfbRWCxfJ5e1v8PBm5sqfpCNXwcbaq=O5w@mail.gmail.com> (raw)
In-Reply-To: <20220506022845.26750-1-puyou.lu@gmail.com>

On Fri, May 6, 2022 at 4:28 AM Puyou Lu <puyou.lu@gmail.com> wrote:

> This is a must to automatically release strarray when the device
> disappears.
>
> Signed-off-by: Puyou Lu <puyou.lu@gmail.com>

Looks correct to me.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

(But really Tejun is the one who knows how devres is supposed
to be used, added on To: line)

Yours,
Linus Walleij

      parent reply	other threads:[~2022-05-12 20:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06  2:28 [PATCH] lib/string_helpers: add allocated strarray to device resource Puyou Lu
2022-05-06  3:23 ` [PATCH] lib/string_helpers: add allocated strarray to device Puyou Lu
2022-05-06  4:44   ` [PATCH] lib/string_helpers: add allocated strarray to device's resource list Puyou Lu
2022-05-06  6:43     ` Andy Shevchenko
2022-05-12 20:49 ` Linus Walleij [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACRpkdbVP4HL3UO9mfbRWCxfJ5e1v8PBm5sqfpCNXwcbaq=O5w@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --cc=akpm@linux-foundation.org \
    --cc=andy@kernel.org \
    --cc=chris@chrisdown.name \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=pmladek@suse.com \
    --cc=puyou.lu@gmail.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.