From: Paul Walmsley <pjw@kernel.org>
To: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Ard Biesheuvel <ardb@kernel.org>,
Eric Biggers <ebiggers@kernel.org>,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] riscv/purgatory: return bool from verify_sha256_digest
Date: Wed, 13 May 2026 16:57:46 -0600 (MDT) [thread overview]
Message-ID: <849ef50e-e632-3e7e-de61-1042f2220811@kernel.org> (raw)
In-Reply-To: <20260509073850.44595-3-thorsten.blum@linux.dev>
On Sat, 9 May 2026, Thorsten Blum wrote:
> Change the function's return type from int to bool and return the result
> of memcmp() directly to simplify the code. While at it, cast ->start to
> 'const u8 *' to better match the expected type.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Thanks, queued for v7.2.
- Paul
WARNING: multiple messages have this Message-ID (diff)
From: Paul Walmsley <pjw@kernel.org>
To: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Ard Biesheuvel <ardb@kernel.org>,
Eric Biggers <ebiggers@kernel.org>,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] riscv/purgatory: return bool from verify_sha256_digest
Date: Wed, 13 May 2026 16:57:46 -0600 (MDT) [thread overview]
Message-ID: <849ef50e-e632-3e7e-de61-1042f2220811@kernel.org> (raw)
In-Reply-To: <20260509073850.44595-3-thorsten.blum@linux.dev>
On Sat, 9 May 2026, Thorsten Blum wrote:
> Change the function's return type from int to bool and return the result
> of memcmp() directly to simplify the code. While at it, cast ->start to
> 'const u8 *' to better match the expected type.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Thanks, queued for v7.2.
- Paul
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-05-13 22:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-09 7:38 [PATCH v2 1/2] riscv/purgatory: return bool from verify_sha256_digest Thorsten Blum
2026-05-09 7:38 ` Thorsten Blum
2026-05-09 7:38 ` [PATCH v2 2/2] riscv/purgatory: add asm/purgatory.h Thorsten Blum
2026-05-09 7:38 ` Thorsten Blum
2026-05-13 22:58 ` Paul Walmsley
2026-05-13 22:58 ` Paul Walmsley
2026-05-13 22:57 ` Paul Walmsley [this message]
2026-05-13 22:57 ` [PATCH v2 1/2] riscv/purgatory: return bool from verify_sha256_digest Paul Walmsley
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=849ef50e-e632-3e7e-de61-1042f2220811@kernel.org \
--to=pjw@kernel.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=ardb@kernel.org \
--cc=ebiggers@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.