Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp220115lqh; Thu, 30 May 2024 21:43:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNvC6ixJRv2QxMehIbgTxWkEqjYv3heJE+L0RuzPXgki7XXDxKc2gTvr6jsk6ejwkgA8XYULkOaJwUXkIOu01wOryAD1kLmUQt4Vfi/g== X-Google-Smtp-Source: AGHT+IGGIy1Yl0JpYjpdwyihqdHyATSZokWh4JFLBilP6rZcjOzrl8z1Vc64rwWnxh/+x0Gu0WZr X-Received: by 2002:a05:620a:40d5:b0:794:f373:1bee with SMTP id af79cd13be357-794f5c87f2bmr87332385a.34.1717130582106; Thu, 30 May 2024 21:43:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717130582; cv=pass; d=google.com; s=arc-20160816; b=rRasQS37XecOjbK2LVsEbuA/vm3/O/S2ruf8K9oXKqPspeqvkGruDKRYQ6Ej29O5Hj gHUZ0gA7lAN7cPgKkYTbBJ1A1FGy+MAWkNibz8bJ8dTmTUHd3dHXgogwX9TO3nKswmuf K2oW9+nAJ1PZ73zWCOV4muphaWNKLDPQ90V/eR9YxdMa9Np4sSKisiEMPe4iQldKE32P zuyvULBwsqXFYn/q9JzVkJQoCXdnc0GWcIk4HFOSvANny7uoVa7bVCCXCxOctnKednWh F9VRN3xOvD3vYvOvFQPoz3AcpFFEiZdzbNEIvP873gArDGYpDIys/5Nzu2AefXA+w/dp 6Czw== 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=e3NB/mDwRctn3iwAMjuc5/uFGUFjegxDUG7u7jpVJ+s=; fh=hTF3jIbp30CO/ZJeYXWWCRmp5Px5skJvsL+Pway7QmQ=; b=E+o3DEqmXgee4/vyMnDXO5fL7ucnxXesqSA+e0pQ+Pla/fuNWxfy7FEDMha8LSR+Ql kHYqP6yWupoZsRcSfLRPP9y3a8m5mvOF80t1cOLQZIvah+WTpSx5DythOAJ6NK/9DkEi t6P5DAh05/livkNsw0nkvhcTGs7sdPX/hLqIyvKpvezjazutIQHKDoPbHiSxr1PLZ8LB uPLhbOi4UJCZAZPepUdj8DVsI/DaEV0UyUwvqFCAXdIVEN0Rz0X/IJ29NO0eBL2FQ0Ut UujqZvAQU9jD+726m9I6SCQDQwWWC8tNOHdhbwedtBk5Hy5CNYeyAmzsVrawk2qbXnB+ RvDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="cgv/Q7eC"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-195979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195979-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794f3063dd9si114582385a.277.2024.05.30.21.43.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 21:43:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="cgv/Q7eC"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-195979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195979-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0ECB01C23672 for ; Thu, 30 May 2024 22:45:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 350034D8CE; Thu, 30 May 2024 22:45:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="cgv/Q7eC" 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 66FD9335A7; Thu, 30 May 2024 22:44:52 +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=1717109102; cv=none; b=uhDW0OvghlN9gEhY1lV5B1jBWajznPBNzQ/YSRX8jWmddqpReIRv8VpnH4M6BjCr5SiILz+etMcL7fnJM0cftcwRhSy5hZ9MHFjhe/71NrSqI9m+WRoLCGAL/PDueOU5WJHOCcV2hc6l1A9lqwXOSN1Q2BRhBVEilkJa/dMxQok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717109102; c=relaxed/simple; bh=kdx3TMxJYojAFm5/PbyiKBq8xS46txgT5B+lf63HuzE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dk4a2u4O7nDf+Z9GtizgDL+tmjxXOG/12H7mkROVdVaDay+zci/GYg7qup3CTrqMkDK6lpvJfICweaaZqbGUuNBjO/BmySK0OTF685uN0J8oVf5XfzPLhpRUBD4Qk/GXCj0fqynKXc5SIFhqeY0UBrzAktIGFYrECJSnpyfI++8= 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=cgv/Q7eC; 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=e3NB/mDwRctn3iwAMjuc5/uFGUFjegxDUG7u7jpVJ+s=; b=cgv/Q7eC94kt5eEfPb5w5slwyv RTKpG43piRHMly9hzg+YvIAsIVZI03XQ79HeT3acLdWu8BGSwE3GPOvNHhUw0hG++yfArv0aVVJfr /ji7WJKmORZ0p9dNNwelSs2k4U9+LbZJbH3iQxTrHzPTX1JAS+t+wZm+ck++NOAWCmivP7PTLwCvn 5VkBq7r6mxrdOaxy0BM8kOx9dEIL+wxp8TV6yO5QbOsXi23inDrq/1lSo8KS9JgCspxWeTCZzeOOg XMy6YPcjotgXy31GclMpcKiHeu5o+3/1/DGr9czv5/Of9674/JfkLINloooBQYADQTTjYKa7RdvN1 Tl3kC3pg==; 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 1sCoVu-00000008b9H-1B8a; Thu, 30 May 2024 22:44:50 +0000 Message-ID: <4951656c-2d15-49f6-89d8-aa7b5c333ec7@infradead.org> Date: Thu, 30 May 2024 15:44:46 -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 v10 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: <20240530165925.2715837-1-devarsht@ti.com> <20240530171740.2763221-1-devarsht@ti.com> Content-Language: en-US From: Randy Dunlap In-Reply-To: <20240530171740.2763221-1-devarsht@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/30/24 10:17 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. > > Signed-off-by: Devarsh Thakkar > --- > V1->V9 (No change) > V10: Patch introduced > --- > 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..fb467783d491 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, scaling and 32bit division functions 32-bit please. > +-------------------------------------------------------------- > + > +.. kernel-doc:: include/linux/math.h > + :internal: > + > UUID/GUID > --------- > -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html