mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Syauqi <syauqicode@gmail.com>
To: julianbraha@gmail.com
Cc: Nathan Chancellor <nathan@kernel.org>,
	Nicolas Schier <nsc@kernel.org>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] scripts/config: print string values literally with --state
Date: Wed,  2 Dec 2026 10:01:12 +0800	[thread overview]
Message-ID: <20261202020112.43567-2-syauqicode@gmail.com> (raw)
In-Reply-To: <204d6653-fdbe-448b-8c47-747cc82a52a5@gmail.com>

Hi Julian,

> I don't think improvements in input validation warrants a Fixes tag.

Thanks for testing this one too. I included Fixes because
CONFIG_LOCALVERSION="-n" is a valid string. With that value already in
.config, --state LOCALVERSION exits successfully and writes zero bytes.
That drops a whole line when several queries are chained. I traced the
zero-byte output to d6686da814c8 ("scripts/config: properly report and
set string options").

Thanks,
Daniel

      parent reply	other threads:[~2026-12-02  2:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  7:52 [PATCH 0/2] scripts/config: fix string handling in --set-str and --state Daniel Syauqi
2026-11-30  7:52 ` [PATCH 1/2] scripts/config: preserve ampersands in string values Daniel Syauqi
2026-12-01 18:05   ` Julian Braha
2026-12-01 18:06   ` Julian Braha
2026-12-02  2:01     ` Daniel Syauqi
2026-11-30  7:52 ` [PATCH 2/2] scripts/config: print string values literally with --state Daniel Syauqi
2026-12-01 18:06   ` Julian Braha
2026-12-01 18:12     ` Randy Dunlap
2026-12-01 18:26       ` Julian Braha
2026-12-02  2:01     ` Daniel Syauqi [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=20261202020112.43567-2-syauqicode@gmail.com \
    --to=syauqicode@gmail.com \
    --cc=julianbraha@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=nsc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®