From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9FA86CD37AC for ; Wed, 13 May 2026 22:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID: In-Reply-To:Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ewSJRz8TfV1YCZp//HEKmu/CLC/pyY0XhTN6hPMYlJ0=; b=Z2z9kyT458a8gn 6UpNhyyFXdVHSUrJSzEsg2wIUsqQlJvLStvxFNGOlk2NaAq+W/WG5Lb8/goOj/icxFLkT7cZFqL3q 3p7tnmlDPIb7vQZotA6iKeCwvycC/h4PlUPbYrJ/irzon/NwO45N2z9FxaXBIK9o0/3XkR4GWxE56 eb+tCI8hr1cUTpdTFvMLuidqBAKpOabAPnjbIK/bHGa46wwa4XGyptvm2Pp/7U+MR2hKlaM5f3/lW urJpfFNcMUL+lb+QRmTdjJsAkaBfL+vXHMStxISgXi/poXmjw7mR3Hji331nqAGbJl7hA9A070B3P Pg1OO1Y1VPbHsBPBm7DA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wNIWX-00000003xyk-1x3V; Wed, 13 May 2026 22:57:53 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wNIWV-00000003xyI-2UPN for linux-riscv@lists.infradead.org; Wed, 13 May 2026 22:57:52 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 29CBA40704; Wed, 13 May 2026 22:57:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FA48C19425; Wed, 13 May 2026 22:57:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778713070; bh=ItDyrCjtiGGsMrOi5DbupgGQ8iVd3QGJM+4Tq1Nozb0=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=rXH3YLQ64WxTOrzDOjdilg/zBzTIMc88QdwaV72PWA6VJlvhTRJVWcHfdMAioyHct GjthV8d7CyieA24Z2WjO0NNxWNFKkNDMejUkTpTScJm8KR1qcrBKZfb/9Nc9MV4YI2 2H28ipv6AV7lnxZEnEzc9W0qDrxQxwnBOW33HYUOIEI9+Z8SIuWZS2zc9+cyzsZEQr 6bDSTPqF2wTB+Wk8LkocZi9PV/6e1v1MiZBzNcyFh2gPDjotiHS+C+8RNgl0WNWms7 SMeGVQ6GR4UAYF+rV02gKyZUegRbc70qMVZdxxXhDcbobDjFUcT9SOC7W271CxBjT6 Wn/3Byp207w+g== Date: Wed, 13 May 2026 16:57:46 -0600 (MDT) From: Paul Walmsley To: Thorsten Blum cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Ard Biesheuvel , Eric Biggers , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] riscv/purgatory: return bool from verify_sha256_digest In-Reply-To: <20260509073850.44595-3-thorsten.blum@linux.dev> Message-ID: <849ef50e-e632-3e7e-de61-1042f2220811@kernel.org> References: <20260509073850.44595-3-thorsten.blum@linux.dev> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260513_155751_653506_56BCF274 X-CRM114-Status: UNSURE ( 7.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 Thanks, queued for v7.2. - Paul _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv