Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3056311rdb; Tue, 13 Feb 2024 05:50:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWqSuZCSm7QupBRSxxUKvh1LuZVqQzAOSocdGRRNJk1zgPB8fUPb0NDMs4I8RDzGheJTfkSsommH9BiGlJkw3cgH7EIWhusZyyz3uZ6KA== X-Google-Smtp-Source: AGHT+IH3YUVOH6aepPeXnlgo8CVHfIMLivWX4fH3barEAScPuFCYcJBjqLlouf6Ls3Yn32di92We X-Received: by 2002:a17:906:5904:b0:a3d:1df3:4a55 with SMTP id h4-20020a170906590400b00a3d1df34a55mr578018ejq.9.1707832251599; Tue, 13 Feb 2024 05:50:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707832251; cv=pass; d=google.com; s=arc-20160816; b=wv9IIyCur/ge+09V0h/1qMCXA3VOct3pyxzmWSJyS80JcGo4nPRfWDAxvowh0HAJI6 DRzOFAyhi+ua1vC/pVWHAh7JYWqBjo44S4oMqJP+DMocS6+j6MF4ICE9i53gv+cJimch TzE4O4a3AzPw6JsF/7y9s4DmAZIdLmMFenyWWPxuyaMjKJ9dRAGEQtcCgmMWolBrfJpe 8V4DWpKeH+wV3iM8TS30V5CTXkOIEEaDnGGORSjxBFCB7Mx0FAW+V2zQ1sFlPdaCePtY ZPSQBwRLecAKCIme5aVVqFmfyL/t6Mx5vCzmfOGkQW/I/pu2s+YJlrwtxrcDleRSpQzT Kn5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=ynqNOXjR8y1dh2yr8HydRPsWc2KYj/UPS0GSPXcZdiU=; fh=x2VmJVPcgBq9RSkoI/zaZgTdRE/0DELNXJn/S7o3V4k=; b=c6ewG06q2T+HHjQUSTl/SYpGs3ZcB9gQeZ9+noWy0ittokUAtai2+od+Z0S89Yqy+/ ccEGoaDeLe4dNS1hI+ZkwnHGqyCQpCe9YqvuX+aViE6jZbTu3MSjCverGNCZyf0al8rj dxSMhKY/auBec87BrFtaBsiiqNeXzcoupucBHt3lkOgt2MOxCYKGD0IFOyTLH7rQXrUy tSgfgvCJpYwEcQIU4zva5RXFwsuGRXZmy8op6Ig9qnAVFKvEF+fwwwNdfMeaxmZTc0tB Mi+JhR80Zwo6HMr+LMUHJY2tCMz6zU9rCtrGch3wyDJIg0o1fa237JwoJPZz6I8KA2cj 0UXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=unuQtDVq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kBNToM04; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-63613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de X-Forwarded-Encrypted: i=2; AJvYcCViraP8xaPqiztuVpLOVOKB6TiSg4zP+UmhNKa1AdTpMR6e5UBRBawIA1ueT77WbfMUsvy5wHlVsDZEvmLFmhaVh8blyoa51IsxjS4dXg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lm4-20020a170906980400b00a37a91f9c75si1259088ejb.1012.2024.02.13.05.50.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 05:50:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=unuQtDVq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kBNToM04; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-63613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4E6911F229B7 for ; Tue, 13 Feb 2024 13:50:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB89156745; Tue, 13 Feb 2024 13:50:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="unuQtDVq"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="kBNToM04" Received: from wfhigh1-smtp.messagingengine.com (wfhigh1-smtp.messagingengine.com [64.147.123.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8ACBB56469; Tue, 13 Feb 2024 13:50:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707832242; cv=none; b=no1YgM8gWTK2P+wXfeEb2djvv9WY3ZZ4b2q69BzLz5oAfX3M2tQ4FHpsjC/0I8RrPz+tiVMgbrWTJ3YME1N7Kzu332n7MDUJ5w6lin1gZ+i9q6OSF+ZZ3UdCcBCWWNxD56p3Kx9p5BKM26rYWBcBhNE4HMx79+jlAAR1+UkEjvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707832242; c=relaxed/simple; bh=hAI/RtEnxz5YO+rPHDkMMWqK1f5rZxIZeNF15xQSoXw=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=dnDAIyds1uyyqarR9yQMf350gz1NrZzSKbFcdTPNVn/BPD49myB675bRm5ycRgomFLbhWINVObLp7xKTrrE62Eg6LaihnzKU06WyxmALrRc57hL+bu5YA7HPm75oOCXl16+nLLIq1ncnSJ5NDxFr8L0WtFAoIyTiN3iBVlDmlvk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=unuQtDVq; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=kBNToM04; arc=none smtp.client-ip=64.147.123.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id 8DB8D1800159; Tue, 13 Feb 2024 08:50:38 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Tue, 13 Feb 2024 08:50:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1707832238; x=1707918638; bh=ynqNOXjR8y 1dh2yr8HydRPsWc2KYj/UPS0GSPXcZdiU=; b=unuQtDVqNTuLd6eR2KOS9x0LUa ZCnOyrORrLf47R2Tgml79t8CZkluHqTLMsw4dhk5tii8gYRUf3DEvArA3SkRWidH vpR6JtHOdPP+stRDcRlNEDBwkrMrzhTD68vgbVIepwRAYRMYisKH5f66xTu8xWsD GlN8ZfrNPa4mzUzVxd1yXOG5dDTPEkVfuA/0Fiqz0NQ48g4nKLfm3mLDbq6N9os5 ds+H8egFdKNLln1eHLr51ElJ346MN2D000wCPT5YoPFAjyum3p198FYz/1s3mFoh C8RIGC8+jmI++U1iOnCQ5HMNE5lVSXv/nuGrtmST3GaLq2VQmC1OEm4xR1+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707832238; x=1707918638; bh=ynqNOXjR8y1dh2yr8HydRPsWc2KY j/UPS0GSPXcZdiU=; b=kBNToM04RVX2Ij2JpbIfoJ6QwfFpbpKWHnmUi9nd1AAV s3dqGhehPGlk2GVYGaWeZsnNN60xBbtzaYcdqU3tqUGnTMNkvWaVE9VLwxRFZLm2 WbH2eHGoSmu8MGS9+dBpiuN3SvJEHDmTvcBMY/wIJNKYjMzqnGGKrC7kDmNIVESE 6MTZH4l8rp0Pf8HlgHcMBSh+Fx30zm2b/CjkEYzdRpg/tNAzEYvU0JUomweM+CXV Vf8gegPYy4zit8xsi5Ilx9FkqrEKhIXZGYOK0y7NS1klbSAibus2FVaxk/E/0KMv DIv+pM9Cf61JQZLqA8NwrnDaAIwTJBkfxTaO2DqIqA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 12A16B6008F; Tue, 13 Feb 2024 08:50:37 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <3370c551-f24d-4d00-999a-99c229d693a9@app.fastmail.com> In-Reply-To: References: <20240213101356.460376-1-arnd@kernel.org> Date: Tue, 13 Feb 2024 14:50:15 +0100 From: "Arnd Bergmann" To: "Herbert Xu" , "Arnd Bergmann" Cc: "David S . Miller" , "Russell King" , "Ard Biesheuvel" , "Nathan Chancellor" , "Nick Desaulniers" , "Bill Wendling" , "Justin Stitt" , "Jussi Kivilinna" , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] ARM: crypto: fix function cast warnings Content-Type: text/plain On Tue, Feb 13, 2024, at 13:09, Herbert Xu wrote: > On Tue, Feb 13, 2024 at 11:13:44AM +0100, Arnd Bergmann wrote: >> >> Rework the sha256/sha512 code to instead go through a trivial helper >> function to preserve the calling conventions. > > Why not just change the assembly function prototype? Good idea, sent v2 now. Arnd