From mboxrd@z Thu Jan 1 00:00:00 1970 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 3B7AA6EB64; Mon, 23 Sep 2024 14:36:33 +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=1727102194; cv=none; b=POC6A4uP2MFEQI5ot22mUM26abg5P22U8rLl3+QS34V0ay5fvG47hixscAO3NZEoCebYSVKkY3I8Ap40MsqVVLw2mqGmpkfOein1EGdLCpAZP2sor2/rObVRNqCMiJK/JItamCviSnfuKkoUZgCmN9ADbQ6wfGl3kTeRyxR7jtQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727102194; c=relaxed/simple; bh=+BzfP0mGVOC2tMF2QnGOKzwHbkVx2MGDthHAVw+8j/s=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=IlF5mE2PZHxETR6jicNR+QXxt/F5NUnRhWes/sI4Iw1DeM8Ax78CWF2BzELAIXVZEndaR/0ikD9cRPcnY2x/E3qSDgmguyM4R0DbgQlGLUXoxePBWeI/8ZHy9D5ctF/XI2VuDMmFMbxik21AM3p+gTr2XvL7KJaj+jm1jSsvFGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gX022ahG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gX022ahG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3EEB5C4CEC4; Mon, 23 Sep 2024 14:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727102193; bh=+BzfP0mGVOC2tMF2QnGOKzwHbkVx2MGDthHAVw+8j/s=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=gX022ahGdrTEcpNgV3LbumnSYzBiqOK2YwFuW3pfohCcMQR3rz0eh/AkcINybhAIs hbZx6U96ic1v5FFwH9g/ItZMOaoFOacHFXNstyNYncitIEEP9KUCVn2Y3FCJwkWYm+ WtptNklQ8SHgL6LZEMYXKlW1S3lNzW9aRz2KRPNpt9hd0uyf0c/E++iqC21JZhu7Zk vO5HzZCdkFRp0MptGD8gYcyQbfjgz7c/PpBKn1DPWKLasUsgM/FqSoMicsVITIeYaj MpR8/KvGTaPioe4gNZw3ReIGNeLQfV5Dw6PZeSH0sZAhG+7smSYP5+XlIofYUnWICK hf8kIe8gdzdSQ== Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 23 Sep 2024 17:36:29 +0300 Message-Id: Cc: "Linux Crypto Mailing List" , "Guangwu Zhang" , "Peter Huewe" , "Jason Gunthorpe" , , "James Bottomley" Subject: Re: [PATCH] hwrng: core - Add WARN_ON for buggy read return values From: "Jarkko Sakkinen" To: "Jarkko Sakkinen" , "Herbert Xu" , "Greg KH" X-Mailer: aerc 0.18.2 References: In-Reply-To: On Mon Sep 23, 2024 at 5:31 PM EEST, Jarkko Sakkinen wrote: > Greg, did we have something under Documentation/ that would fully > address the use of WARN? ... personally I think that even if there was a separate document, this should be somehow addressed already in SubmittingPatches so that it can't be possibly missed by anyone. BR, Jarkko