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>,
Haren Myneni <haren@linux.ibm.com>,
Mahesh Salgaonkar <mahesh@linux.ibm.com>,
Tyrel Datwyler <tyreld@linux.ibm.com>,
Thorsten Blum <thorsten.blum@linux.dev>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] powerpc/rtasd: Use struct_size() to simplify log_rtas_len()
Date: Mon, 3 Aug 2026 12:27:55 +0530 [thread overview]
Message-ID: <178574013462.29744.6823090165902962267.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20260627104730.276858-3-thorsten.blum@linux.dev>
On Sat, 27 Jun 2026 12:47:30 +0200, Thorsten Blum wrote:
> Now that struct rtas_error_log uses a flexible array member for the
> extended log buffer, use struct_size() to calculate the total RTAS error
> log size and avoid using the hard-coded header size of 8 bytes.
>
> Use min() to replace the open-coded implementation while at it.
>
>
> [...]
Applied to powerpc/next.
[1/2] powerpc/rtasd: Use struct_size() to simplify log_rtas_len()
https://git.kernel.org/powerpc/c/6a7f74525a9964ef3228f6e1d1af261e92964987
[2/2] powerpc/pseries/ras: Use struct_size() to simplify fwnmi_get_errinfo()
https://git.kernel.org/powerpc/c/351496d6aea664f25cbd6411bf5567210328e419
cheers
prev parent reply other threads:[~2026-08-03 6:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-27 10:47 [PATCH v2 1/2] powerpc/rtasd: Use struct_size() to simplify log_rtas_len() Thorsten Blum
2026-06-27 10:47 ` [PATCH v2 2/2] powerpc/pseries/ras: Use struct_size() to simplify fwnmi_get_errinfo() 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=178574013462.29744.6823090165902962267.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=chleroy@kernel.org \
--cc=haren@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mahesh@linux.ibm.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=thorsten.blum@linux.dev \
--cc=tyreld@linux.ibm.com \
/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