Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp245976lqt; Thu, 6 Jun 2024 02:16:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuDpOJLQGfgqp9nvwtudsOLQetpxISlNwZuhWj0n+jo2E4GrRk8ClT5KhfWh/+rCSk5ceO1CHNig9rpUMRbhJPLX/aOX812JDVYp8uig== X-Google-Smtp-Source: AGHT+IEYelj5fjM1Pgkt7IiVP8OITCcnnnf9qUE8iKTyaXLjMnISxNK1BMSbzRVs6/WooyeLWRNM X-Received: by 2002:a17:907:2813:b0:a68:f77f:41e6 with SMTP id a640c23a62f3a-a69a02687f3mr302271266b.73.1717665385338; Thu, 06 Jun 2024 02:16:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717665385; cv=pass; d=google.com; s=arc-20160816; b=bdFrwS6qpkoSZG3VVOU8XRNQUuOpnV1qG4WjaUIm/iUHk55dbsBQadPPitw6gNIKkR vRJ+L6OwZj2GZKfUOUxNKE0GUUDVX6cCWbjKeyioGOldl2El62Id49p6FhlXj0udswFF FTOpwG82jgxOJgzYxFiHRYug1xGdjyK1QAEdQEk1e/p7kpoO5dGs4fckQ3ZwoYhcW5ER GPkqRva1MfFaQmLxarc21nIsdyXaucAhgf/91gi69Zvw7x0Ofe3R98Vfo7mSxs6QiB/9 U2DPIo7I0VoEmdi72YPXvb7C2rJUb/r4OpbhV811lBKFMOeKOkiwYJ7pOhHsUtP6Qzul 4bPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=QuKb0Falgo4s8LTLQGy5pXPZddBlxCXDBzuCgc2gwoc=; fh=kqd1J52FAloqpviUr3EfC+W6/3az9kDzVHXUpvyZ/aY=; b=bfns/21JrB2ejXT+YDHV5LIpA59zyRV51KIsnWAmVlnjZJ/1LiFwqD98bKJk0a0130 e+CbvaKXmKhrftsToRCeeUUcZu7TbHSmfalKwTIWeynvgh4YM/5nasUgfLuHnbigrZll vS1W7aZXH5w2k+IQaP1AXBB33hZr00jD8uW52rasXPPH//rQ2DZfxpReOElC+czirkSq 5dbTDQfFdBurxPHF8PrAfy/uWAHCBr+toB2YNCNWgvhEKPUrjjnl4D/RlusFjVE4uGuS hyE/P7LgrPmbTzVxbnCN2KlEymoBhM7ieRmy8WMpwvWPxQnSbVnLyWy0PH9uTQniiU6g A5Tg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b="FggGB/3E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c8059838bsi46995866b.179.2024.06.06.02.16.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4783-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=fail header.i=@kernel.org header.s=k20201202 header.b="FggGB/3E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 117EB1F2313A for ; Thu, 6 Jun 2024 09:16:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AB1714D2B2; Thu, 6 Jun 2024 09:11:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FggGB/3E" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F0528168A9 for ; Thu, 6 Jun 2024 09:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665080; cv=none; b=YoxEeL5nGaxh07m9wUoLgjjHLxjlGJXYPHhUBhNPBjhiUGUx1AqFTEhh0GqAEsEZ1CPlQ1lDTIarO79n1ZoYuabpPyCW8TBDiKFDl2FBYE/TXmVCrAcFgQm7+pjbLNHWRJkgrG0/GQaBR8Km2VCAPFB5eWjNVFjx06w9/EzLNTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665080; c=relaxed/simple; bh=b89TdfUrI/7XAxaNGfMiB0tR6CQEt6CDVU+g9BJjxDQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=k+HKJ3FLIPnqR+Hd+B1ZCHT35gZW1Q4E6JmFAfYQvnKGgRM4kayZV24msfX4v5nBJhOpxcqLakSlXOkzim2TgQtYdsjGBqzK1H/JVh4VbIKjwxB9dVIAOjdcrhSX7R488WCbo7WJABHWiMKYngDnjIZVazVbbtLoesQV67JruBo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FggGB/3E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D853EC4AF09; Thu, 6 Jun 2024 09:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717665079; bh=b89TdfUrI/7XAxaNGfMiB0tR6CQEt6CDVU+g9BJjxDQ=; h=Date:From:To:List-Id:Cc:Subject:In-Reply-To:References:From; b=FggGB/3EAAaofIy4DR3hUkCx+bQvdrIOiP4Y8OUPl9abuccRvEXfjbJTqXT68ffqc 1hTE2KI41nHiQrS7qBJahfxP3H9qeIWA18IVw78IaGTiJlJxvvIWYIkLVLDLTEZ0Ll aymKZ4xfqouNbYXm/JmNdk4t+dNwfOKloXrXgNSKEaq0cJp7SZ2Atu6i+NvDFuWOO7 ME99IyYpAUFb9TSoz2MOKmVAqNtQWZLnIJocfwU2gntIFgo+ZC3/GiMOr1k84yACqD pHc1laEVFWta4B7UXEDBr/ccZsNk0a80zxj6or3GHHmjECFPMMqItz747vnnlhmzyN H/aG2Kp7Ld3uA== Date: Thu, 6 Jun 2024 11:11:13 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Andy Shevchenko Cc: Bartosz Golaszewski , Gregory CLEMENT , Arnd Bergmann , soc@kernel.org, arm@kernel.org, Andy Shevchenko , Hans de Goede , Ilpo =?UTF-8?B?SsOkcnZpbmVu?= , Olivia Mackall , Herbert Xu , Greg Kroah-Hartman , linux-crypto@vger.kernel.org Subject: Re: [PATCH v11 6/8] platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG Message-ID: <20240606111113.7f836744@dellmb> In-Reply-To: References: <20240605161851.13911-1-kabel@kernel.org> <20240605161851.13911-7-kabel@kernel.org> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 5 Jun 2024 22:00:20 +0300 Andy Shevchenko wrote: > > +#include > > +#include > > + errno.h I use -EIO, -EINVAL and -ENOMEM in turris-omnia-mcu-base.c, -EINVAL, -ENOTSUPP in turris-omnia-mcu-gpio.c. Should I include errno.h in those also? Or is this only needed for -ERESTARTSYS? Marek