Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp705097lqh; Fri, 31 May 2024 13:57:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUewe6AyBY1vBOWijJz8bOMD7TPZqkrszhBX2PGYZnXAcfuP8vjHZeZFxLHWI70t4nYBhP8kQcm6Yu2LNdi4ea+VlXNlve1yHXhfGyjpw== X-Google-Smtp-Source: AGHT+IE8aOIVF+BtTSpcYuppEVOPNSu2jkTX6cpWNExpWVHIkhPCvhRqGKmS80fFkmlMHW55hmeW X-Received: by 2002:a50:cddc:0:b0:579:f08c:105b with SMTP id 4fb4d7f45d1cf-57a365c7782mr2567962a12.35.1717189077027; Fri, 31 May 2024 13:57:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717189077; cv=pass; d=google.com; s=arc-20160816; b=VnXcS3rIALhIoqFTpI1CFXdN1sYHYL5rywsyoY14czAPdVZ8ejXVVF21zBBb2+4F9p C+KWxAdGhR1wknejq5mAazp9dzlYidM5pfWinKdvS9nI7gNYemnuaGIXFWelRwdimznI 45dSnZMDqBg/VJu/xF1R8LFQjbzgLY+jk52h7yFrKf4SfPrU2yJGv/dRuw76+WOwNRbS 37SwcgI/FJqiFfPUt8dlJybLYI2ahKfv4E7/K1U+ZR8xWh+BLtSIC+Iyojk+pxk8C/WE tbx3jvaMtD4p+Q81NMmNFWkZR1wXTok76hSPJK8Iet5jUcysPZHWU5sedMRD3S2ZezGg tinQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Y29TmkHKYUwNvGcW0y3qxFwKo3onKquOFuAOIt1KwWk=; fh=hTF3jIbp30CO/ZJeYXWWCRmp5Px5skJvsL+Pway7QmQ=; b=IangB//s5tej/SR/cotFXZZ1Y09k8YX3XfMXheOsnibDXgi6wlqoNLHi0VRKILIMO1 BMTIKBrRp5nXrYkin4yg2b+7DLrEj1X+NxHGLfAVuuRm5pgEbygKxGwO6QSbxeoX6CBE 8H2CPpgFenJJMHwCV7RuO6H281fPfPl7uqf9rKku7F5y2GW+L84YZyTBKsrS81oPvHWL QaLJb2LrCzXre+Kcs2cGlaUIC4baE2QSKZQVXsqaNGkC5DGHcpHR9bV3LHVtkNHGozFz pDdhp3ytfMeO7rXyQSIrgIqBC3Rf23UrzXTGq/FyTVHO4RtllvGxIO8KZeVa0FgUpX8o pxJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=JbDwwtoZ; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-197301-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197301-linux.lists.archive=gmail.com@vger.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 4fb4d7f45d1cf-57a31cada05si1281802a12.588.2024.05.31.13.57.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 13:57:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197301-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=@infradead.org header.s=bombadil.20210309 header.b=JbDwwtoZ; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-197301-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197301-linux.lists.archive=gmail.com@vger.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 B36111F269DD for ; Fri, 31 May 2024 18:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 740EB7E103; Fri, 31 May 2024 18:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="JbDwwtoZ" 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.subspace.kernel.org (Postfix) with ESMTPS id 997957C082; Fri, 31 May 2024 18:31:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717180282; cv=none; b=tPbIqn68Cpc7mSupUOm/hbPDuqqqhmwwzfuR8gx81oA1XyacRnKawgAOGK7ClY9RPmhOhQEU2pKkewOLBdmNxbdYU2uXrUhmNmnGaeh8dk6h3cEk/gJ15Mu48jK4fRFLikZSjSXJrihdBOQrEq5rQb20bO7qdJ0fLmegemHi6yU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717180282; c=relaxed/simple; bh=hCXSLE4r2AnTT6HxGeXdZGVQDBKoHt4v004XWnI33Dk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DvJmL+VtyLTy1X1NEk/qr7uGLapygcIE00CMbjGvrQyju8wjT15AxCkJ7Zww2CHlUoMDOyI/InwD+p5NDQI/+AGiWzbLlWozo7Y6CczcOWViKPQgeev98qFRFsjCMsB/xeIlBXlwHzIhZAKBQggrIUwKYc1H8IJytuQZGF/i//o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=JbDwwtoZ; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=Y29TmkHKYUwNvGcW0y3qxFwKo3onKquOFuAOIt1KwWk=; b=JbDwwtoZyGApmQT3cWI28iV9h2 bnK+AzMfkDP0VylFy6mrmPYJ5D6RuWSUvkn4On0u7ltxr22WqyCL8BtlOa9/GVIGHTQHmXI+G157W xfNnSAHTe0PQni+yiCql0ZnAZRaolA9hMtdW6uf916xMqpg5pihKXKbEJgV+QLKxO1Ew5RkkGEJjj mWuOoz9HghVXp5bwnkCfb/sOjOLh9jygymSCOjLbCnF1FbCzWbaysc4BThCbSafR4gRLUj0G09ufV XVyiMikS5ndPn2JuFq1Mh6REHlN7q3Cq9XRse2Qi6WvkVJoCqwZk+eIFJUVQOcdXBqDaAcDKe1s4l WXy/bi0w==; Received: from [50.53.4.147] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1sD722-0000000B89T-2GB5; Fri, 31 May 2024 18:31:14 +0000 Message-ID: Date: Fri, 31 May 2024 11:31:13 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 07/11] Documentation: core-api: Add math.h macros and functions To: Devarsh Thakkar , mchehab@kernel.org, hverkuil-cisco@xs4all.nl, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, benjamin.gaignard@collabora.com, sebastian.fricke@collabora.com, akpm@linux-foundation.org, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, adobriyan@gmail.com, jani.nikula@intel.com, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, corbet@lwn.net, broonie@kernel.org, linux-doc@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, praneeth@ti.com, nm@ti.com, vigneshr@ti.com, a-bhatia1@ti.com, j-luthra@ti.com, b-brnich@ti.com, detheridge@ti.com, p-mantena@ti.com, vijayp@ti.com, andrzej.p@collabora.com, nicolas@ndufresne.ca, davidgow@google.com, dlatypov@google.com References: <20240531170229.1270828-1-devarsht@ti.com> <20240531171220.1295881-1-devarsht@ti.com> Content-Language: en-US From: Randy Dunlap In-Reply-To: <20240531171220.1295881-1-devarsht@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 5/31/24 10:12 AM, Devarsh Thakkar wrote: > Add documentation for rounding, scaling, absolute value and difference, > 32-bit division related macros and functions exported by math.h header > file. > I don't see any kernel-doc for division functions in this header file. Do some division functions get rendered somehow? Thanks. > Signed-off-by: Devarsh Thakkar > --- > V11: Fix title for math function header > V10: Patch introduced > V1->V9 (No change) > --- > Documentation/core-api/kernel-api.rst | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst > index ae92a2571388..7de494e76fa6 100644 > --- a/Documentation/core-api/kernel-api.rst > +++ b/Documentation/core-api/kernel-api.rst > @@ -185,6 +185,12 @@ Division Functions > .. kernel-doc:: lib/math/gcd.c > :export: > > +Rounding, absolute value, division and 32-bit scaling functions > +--------------------------------------------------------------- > + > +.. kernel-doc:: include/linux/math.h > + :internal: > + > UUID/GUID > --------- > -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html