All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Andy Shevchenko <andy@kernel.org>,
	linux-hardening@vger.kernel.org
Subject: Re: [PATCH 00/10] lib/string_choices: Add new helpers
Date: Mon, 3 Mar 2025 09:13:09 -0800	[thread overview]
Message-ID: <202503030912.11512B29@keescook> (raw)
In-Reply-To: <CAHp75VdX-ZMf-mYrnA=DYszK8KvjVfi0kz30WfHRN_oYOJR_Hw@mail.gmail.com>

On Mon, Mar 03, 2025 at 08:20:20AM +0200, Andy Shevchenko wrote:
> On Mon, Mar 3, 2025 at 1:16 AM Kuninori Morimoto
> <kuninori.morimoto.gx@renesas.com> wrote:
> >
> >
> > Hi Kees
> >
> > Thank you for your feedback
> >
> > > > I would like to use string_choices helper to cleanup the code, but it missing
> > > > some of well used string pair in kernel. This patch-set adds it.
> > >
> > > Do you have some Coccinelle scripts or other patches that show the use
> > > of these helpers? We tend to avoid adding new helpers to the kernel
> > > unless there are active uses of them.
> >
> > I have a lot of patches which uses new helper functions.
> > Because it has dependency (add new helper 1st, use it in 2nd), and
> > different maintainers (helper patch maintainers vs each driver/framwork
> > maintainers), I have posted new helper patch-set 1st (= this patch-set).
> > After that, I will post 2nd patch-set which uses new helper, like
> > new helper patch for v6.15, each driver/framework patch for v6.16, etc.
> >
> > Because there are a lot of patches which uses new helpers, is it OK to
> > indicates some of them (as sample patch) ?
> 
> I am not Kees, but my point of view on this is that you may take one
> subsystem which, for example, I can review (listed as a Designated
> Reviewer or Maintainer in the MAINTAINERS) and add sample patches from
> it. It will speed up the process as my tag would suffice. Also you can
> add into the cover letter the statistics (how many drivers are
> affected (per subsystem/folder) by each of the new helpers in the
> upcoming series.

Yeah, I'd say just post the series you have and in the cover letter
refer to this series as a prerequisite.

-- 
Kees Cook

  reply	other threads:[~2025-03-03 17:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-26  5:34 [PATCH 00/10] lib/string_choices: Add new helpers Kuninori Morimoto
2025-02-26  5:35 ` [PATCH 02/10] lib/string_choices: Add str_enabling_disabling() helper Kuninori Morimoto
2025-02-26  5:35 ` [PATCH 01/10] lib/string_choices: Add str_tx_rx() helper Kuninori Morimoto
2025-02-26  5:35 ` [PATCH 03/10] lib/string_choices: Add str_in_out() helper Kuninori Morimoto
2025-02-26  5:36 ` [PATCH 04/10] lib/string_choices: Add str_input_output() helper Kuninori Morimoto
2025-02-26  5:36 ` [PATCH 05/10] lib/string_choices: Add str_Y_N() helper Kuninori Morimoto
2025-02-26  5:36 ` [PATCH 06/10] lib/string_choices: Add str_pass_fail() helper Kuninori Morimoto
2025-02-26  5:36 ` [PATCH 07/10] lib/string_choices: Add str_to_from() helper Kuninori Morimoto
2025-02-26  5:36 ` [PATCH 08/10] lib/string_choices: Add str_level_edge() helper Kuninori Morimoto
2025-02-26  5:36 ` [PATCH 09/10] lib/string_choices: Add str_kernel_user() helper Kuninori Morimoto
2025-02-26  5:36 ` [PATCH 10/10] lib/string_choices: Add str_attach_detach() helper Kuninori Morimoto
2025-02-28 19:44 ` [PATCH 00/10] lib/string_choices: Add new helpers Kees Cook
2025-02-28 20:24   ` Andy Shevchenko
2025-03-03 17:18     ` Kees Cook
2025-03-03 17:26       ` Andy Shevchenko
2025-03-02 23:16   ` Kuninori Morimoto
2025-03-03  6:20     ` Andy Shevchenko
2025-03-03 17:13       ` Kees Cook [this message]
2025-03-04  1:43         ` Kuninori Morimoto

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=202503030912.11512B29@keescook \
    --to=kees@kernel.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=andy@kernel.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-hardening@vger.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.