From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: Geoff Levand <geoff@infradead.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
Justin Stitt <justinstitt@google.com>,
Kees Cook <kees@kernel.org>,
Thorsten Blum <thorsten.blum@linux.dev>
Cc: stable@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/ps3: Fix repository.c build failure
Date: Wed, 9 Sep 2026 11:49:06 +0530 [thread overview]
Message-ID: <178893459274.174069.18403821215814298578.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20260703165834.137242-2-thorsten.blum@linux.dev>
On Fri, 03 Jul 2026 18:58:35 +0200, Thorsten Blum wrote:
> GCC fails to build ps3_defconfig with the following errors:
>
> arch/powerpc/platforms/ps3/repository.c: In function ‘make_first_field.constprop’:
> arch/powerpc/platforms/ps3/repository.c:78:9: error: ‘strnlen’ specified bound 8 exceeds source size 3 [-Werror=stringop-overread]
> 78 | memcpy((char *)&n, text, strnlen(text, sizeof(n)));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> arch/powerpc/platforms/ps3/repository.c: In function ‘make_first_field.constprop’:
> arch/powerpc/platforms/ps3/repository.c:78:9: error: ‘strnlen’ specified bound 8 exceeds source size 4 [-Werror=stringop-overread]
> 78 | memcpy((char *)&n, text, strnlen(text, sizeof(n)));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/ps3: Fix repository.c build failure
https://git.kernel.org/powerpc/c/5ba79d37403d86082ab4083b0f51ec3008a942cb
cheers
prev parent reply other threads:[~2026-09-09 6:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-03 16:58 [PATCH] powerpc/ps3: Fix repository.c build failure Thorsten Blum
2026-07-29 16:56 ` Thorsten Blum
2026-07-30 14:28 ` Thorsten Blum
2026-07-31 7:34 ` Christophe Leroy (CS GROUP)
2026-08-01 22:06 ` Thorsten Blum
2026-08-28 11:38 ` Thorsten Blum
2026-09-09 6:19 ` 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=178893459274.174069.18403821215814298578.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=chleroy@kernel.org \
--cc=geoff@infradead.org \
--cc=justinstitt@google.com \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=stable@vger.kernel.org \
--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