Re: [PATCH] block/partitions/acorn: use min in {riscix,linux}_partition
From: Kees Cook
Date: Tue Jun 02 2026 - 12:55:58 EST
On Tue, Jun 02, 2026 at 06:07:57PM +0200, Thorsten Blum wrote:
> Use min() to replace the open-coded implementations and to simplify
> riscix_partition() and linux_partition().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
Seems good.
Reviewed-by: Kees Cook <kees@xxxxxxxxxx>
--
Kees Cook