All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy@kernel.org>
To: Hongbo Li <lihongbo22@huawei.com>
Cc: kees@kernel.org, linux-hardening@vger.kernel.org, chris.zjh@huawei.com
Subject: Re: [PATCH -next v2 0/2] Introduce several opposite string choice helpers
Date: Thu, 5 Sep 2024 14:32:20 +0300	[thread overview]
Message-ID: <ZtmWxFG9RrKilRee@smile.fi.intel.com> (raw)
In-Reply-To: <20240905092540.2962122-1-lihongbo22@huawei.com>

On Thu, Sep 05, 2024 at 05:25:38PM +0800, Hongbo Li wrote:
> Similar to the exists helper: str_enable_disable/
> str_enabled_disabled/str_on_off/str_yes_no helpers, we can
> add the opposite helpers. That's str_disable_enable,
> str_disabled_enabled, str_off_on and str_no_yes.
> 
> There are more than 10 cases currently (expect
> str_disable_enable now has 3 use cases) exist in the code
> can be replaced with these helper.

Acked-by: Andy Shevchenko <andy@kernel.org>

-- 
With Best Regards,
Andy Shevchenko



  parent reply	other threads:[~2024-09-05 11:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-05  9:25 [PATCH -next v2 0/2] Introduce several opposite string choice helpers Hongbo Li
2024-09-05  9:25 ` [PATCH -next v2 1/2] lib/string_choices: " Hongbo Li
2024-09-05  9:25 ` [PATCH -next v2 2/2] lib/string_choices: Add some comments to make more clear for string choices helpers Hongbo Li
2024-09-05 11:32 ` Andy Shevchenko [this message]
2024-09-05 16:53 ` [PATCH -next v2 0/2] Introduce several opposite string choice helpers Kees Cook

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=ZtmWxFG9RrKilRee@smile.fi.intel.com \
    --to=andy@kernel.org \
    --cc=chris.zjh@huawei.com \
    --cc=kees@kernel.org \
    --cc=lihongbo22@huawei.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.