Re: [PATCH 1/2] powerpc/powernv: Avoid strlen() in pnv_restart()

Madhavan Srinivasan <[email protected]> Mon, 3 Aug 2026 12:27:29 +0530
Newsgroups org.ozlabs.lists.linuxppc-dev,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, 21 Jul 2026 17:53:45 +0200, Thorsten Blum wrote:
> Check only the first byte instead of scanning the entire string with
> strlen().
> 
> 

Applied to powerpc/next.

[1/2] powerpc/powernv: Avoid strlen() in pnv_restart()
      https://git.kernel.org/powerpc/c/86bb4d74da626064136d30367d1b35372b8320fb
[2/2] powerpc/pseries: Avoid strlen() in do_{remove,update}_property()
      https://git.kernel.org/powerpc/c/903cc6e45401d7f3821758901f229b0b59e4f27c

cheers