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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68DABC433FE for ; Wed, 30 Nov 2022 01:37:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231175AbiK3Bhi (ORCPT ); Tue, 29 Nov 2022 20:37:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbiK3Bhh (ORCPT ); Tue, 29 Nov 2022 20:37:37 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DE9A10B0; Tue, 29 Nov 2022 17:37:35 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669772252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T7ypEsMCG1B5UetzSV3WNhjCcELQd+iloz72chOLVNs=; b=mqN8y5hK12RezXboBh5E/1jPdV113HO1jjlvxQs0O/mry6NEbui8U1JV0PDAY8hh16Moej /Tm/oZPYZVzCtin5IyzTvtCZmbbT3fzAmlFcANy16n8360tNVhhY4qvIkWXVORhBhGXime fyzrwAaeDcJ2erbc16cTS0AOdCytSqqLEZpI25l/SDyaE5gjA6qgZqqMgiuEW7EpndNxw8 DatA53gg/9nj1qghDiKRd/+fSpBwg7MqVlmZEC6BvPEqlzYmhIE5eImw0QcrC+AQO1UcRF gbj7NTi1TMyF2CrMzmK9P4wDVp3qK9G9JawIvkyL8FP9KNESvI8RnaVUPH+kJA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669772252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T7ypEsMCG1B5UetzSV3WNhjCcELQd+iloz72chOLVNs=; b=Re7LLaTTDmDxGKk42H/loPS+sN+Q+LpBPzhLvMq+fu/rXOX+LrRQaFMxdzQ4QaRg/ksYL6 pSux3G/9lRvpZdBw== To: "Jason A. Donenfeld" Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, linux-crypto@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, Greg Kroah-Hartman , Adhemerval Zanella Netto , Carlos O'Donell , Florian Weimer , Arnd Bergmann , Christian Brauner Subject: Re: [PATCH v10 1/4] random: add vgetrandom_alloc() syscall In-Reply-To: References: <20221129210639.42233-1-Jason@zx2c4.com> <20221129210639.42233-2-Jason@zx2c4.com> <87cz95v2q2.ffs@tglx> Date: Wed, 30 Nov 2022 02:37:32 +0100 Message-ID: <87mt89te77.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Wed, Nov 30 2022 at 01:59, Jason A. Donenfeld wrote: > On Tue, Nov 29, 2022 at 11:02:29PM +0100, Thomas Gleixner wrote: >> > + * Returns a pointer to the first state in the allocation. >> >> I have serious doubts that this statement is correct. > > "Returns the address of the first state in the allocation" is better I > guess. Does not even come close to correct. As my previous hint of 'using this as template for the (hint:missing) man page' did not work well, may I suggest that you look at the various return statements in that function and validate whether your proposed return value documentation is valid for all of them? Thanks, tglx