LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
	Thorsten Blum <thorsten.blum@linux.dev>
Cc: David Laight <david.laight.linux@gmail.com>,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] powerpc/dt_cpu_ftrs: Avoid separate strlen() in scan_callback()
Date: Mon,  3 Aug 2026 12:27:59 +0530	[thread overview]
Message-ID: <178574013463.29744.13076129650653396434.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20260701114428.818748-3-thorsten.blum@linux.dev>

On Wed, 01 Jul 2026 13:44:28 +0200, Thorsten Blum wrote:
> Check only the first byte instead of scanning the entire string with
> strlen().  While at it, keep dt_cpu_name static, but move it into
> dt_cpu_ftrs_scan_callback(), where it is assigned.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/dt_cpu_ftrs: Avoid separate strlen() in scan_callback()
      https://git.kernel.org/powerpc/c/b6cfbfd6b2992e3f34d255c983dc9f20ef0f5cd8

cheers


      reply	other threads:[~2026-08-03  6:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-01 11:44 [PATCH v2] powerpc/dt_cpu_ftrs: Avoid separate strlen() in scan_callback() Thorsten Blum
2026-08-03  6:57 ` Madhavan Srinivasan [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=178574013463.29744.13076129650653396434.b4-ty@linux.ibm.com \
    --to=maddy@linux.ibm.com \
    --cc=chleroy@kernel.org \
    --cc=david.laight.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=thorsten.blum@linux.dev \
    /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