From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 6047E7D2F0 for ; Wed, 5 Jun 2019 21:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbfFEVjV (ORCPT ); Wed, 5 Jun 2019 17:39:21 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:37984 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726305AbfFEVjU (ORCPT ); Wed, 5 Jun 2019 17:39:20 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x55LWCjf077940 for ; Wed, 5 Jun 2019 17:39:19 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2sxmg0ukx7-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 05 Jun 2019 17:39:19 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 5 Jun 2019 22:39:17 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 5 Jun 2019 22:39:15 +0100 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x55LdEB460096726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 5 Jun 2019 21:39:14 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D3C0A405F; Wed, 5 Jun 2019 21:39:14 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 085D4A405C; Wed, 5 Jun 2019 21:39:14 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.207.19]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 5 Jun 2019 21:39:13 +0000 (GMT) Date: Thu, 6 Jun 2019 00:39:12 +0300 From: Mike Rapoport To: Andy Shevchenko Cc: Jonathan Corbet , linux-doc@vger.kernel.org, Andrew Morton , Mike Rapoport Subject: Re: [PATCH v1] docs/core-api: Add integer power functions to the list References: <20190605165113.50972-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190605165113.50972-1-andriy.shevchenko@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 19060521-0016-0000-0000-000002858B3A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19060521-0017-0000-0000-000032E2A27E Message-Id: <20190605213911.GB7023@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-05_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906050136 Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Wed, Jun 05, 2019 at 07:51:13PM +0300, Andy Shevchenko wrote: > Some times integer power functions, such as int_sqrt(), are needed, but > there is nothing about them in the generated documentation. > > Fill the gap by adding a reference to the corresponding exported functions. > > Signed-off-by: Andy Shevchenko Acked-by: Mike Rapoport > --- > Documentation/core-api/kernel-api.rst | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst > index 65ae2bf1f86d..824f24ccf401 100644 > --- a/Documentation/core-api/kernel-api.rst > +++ b/Documentation/core-api/kernel-api.rst > @@ -141,6 +141,15 @@ Base 2 log and power Functions > .. kernel-doc:: include/linux/log2.h > :internal: > > +Integer power Functions > +----------------------- > + > +.. kernel-doc:: lib/math/int_pow.c > + :export: > + > +.. kernel-doc:: lib/math/int_sqrt.c > + :export: > + > Division Functions > ------------------ > > -- > 2.20.1 > -- Sincerely yours, Mike.