Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6211345ybv; Wed, 12 Feb 2020 08:02:22 -0800 (PST) X-Google-Smtp-Source: APXvYqztlGzIcIpeUptzuVScTDnupn9RvMFsvN2/H5Z7ctb9bORsKOD/X03heeLfImOAGt+Mw3y0 X-Received: by 2002:aca:1b11:: with SMTP id b17mr6787494oib.45.1581523342049; Wed, 12 Feb 2020 08:02:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581523342; cv=none; d=google.com; s=arc-20160816; b=I9agIt+bHgtJ5poK7SRpOwPTXQPLnIBsSZKcdXC+A+uJDYFilFBjjRdxJJmgO9TbrZ lrOfxT0MsQ1BFpPUYEy8M70fJFiPZASiyccRzA+lR8qXC6Tq7+XzI+YQ7GI8G/I36o4z nA+idMoggX8tCVhMMbE/t6gpDPjK880en3xQuM6YVQxPtA45rVSluXPl7eH4HEfXoa5x j5xo4e6VsUtnbHK84c1+9ac8pARBO2IT9nuG8UAhwaFepTVUSDQDBnEvTnca3TL2ZYZe OUwEFBMGO/MHhh/XO73DoLkY1N6T78mYEyhn3luh18fh0J3jA6WCm8RNUfe1bAe3v/jV 7GGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=tCuQbEUwxiErUzebwFMT+runU/jX1hB4lUAevsJyGe4=; b=p4Z9aD34yKyW5456PSBT/cFDyT9LVi+RrJjLVJFeoersuJCpsXlMNPsYnJTUXoIzjC n8DAlhICqJqeyEZD7RCPGzU9J2VR4EKYA+16DYFvzoA1AOtWNAnYAY9SOXM8cVjBl90C Q+es4dd0a19QNQuWdIy8TKBd6gvigxO+mlzKceZlTaXlnysM9UrJxeBtWmbaxm4R+TZq ChNtJzbB4vNifilgruu/ueZqjb0HBL1I7QI4Itfxpxsbv7sLjQpk9L2lDAuKCk63nq7x bwLiha1f9ghdk0Uep8K70ZPZOl166oJSgnYkF5Fd00OyjI+d26DVb5M+n/eWUxlu0vxO nydQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="o/Sq7l33"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d22si399077oti.316.2020.02.12.08.02.06; Wed, 12 Feb 2020 08:02:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="o/Sq7l33"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728557AbgBLQBs (ORCPT + 99 others); Wed, 12 Feb 2020 11:01:48 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:34882 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728052AbgBLQBs (ORCPT ); Wed, 12 Feb 2020 11:01:48 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01CFwZ55001528; Wed, 12 Feb 2020 17:01:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=tCuQbEUwxiErUzebwFMT+runU/jX1hB4lUAevsJyGe4=; b=o/Sq7l33bVTTqc7pvfeXJh04FwU5vJ0UYsPzz/eBRg/sAOdQgpRwGBxPVSGl7E8ka73Z 9aV0tADXKLZwFj4/BBs/70tnPLxbtEDclrIxa7wu2v6FwAzDktjAXLRZLfmRcy230xV7 HZx6chi0iRwo8HNplX6d7ehHGXQdQV1vHanmuDieTqsSQlDnOH/t7bdnqLY+0FgJCM4f A3nkZFCuE9bd+npJkb7vx9sZ+wlN0xE4lfl2cRYg2rD4jTK9JfjGi+SBV7Kbgu+499U4 Y3YAYRuCpa3+hseB93iA7IhzosjIsnafcwD8VHr6fWVob5a2gEzyGOC1yv4gKRH3CrRy Iw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2y1ud9yc5v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Feb 2020 17:01:31 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 03EA910002A; Wed, 12 Feb 2020 17:01:30 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0326F2BD40B; Wed, 12 Feb 2020 17:01:30 +0100 (CET) Received: from lmecxl0889.lme.st.com (10.75.127.47) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 12 Feb 2020 17:01:29 +0100 Subject: Re: [PATCH] remoteproc: fix kernel-doc warnings To: Randy Dunlap , Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier CC: , , References: <20200212093211.15270-1-arnaud.pouliquen@st.com> From: Arnaud POULIQUEN Message-ID: Date: Wed, 12 Feb 2020 17:01:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG7NODE1.st.com (10.75.127.19) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-12_08:2020-02-11,2020-02-12 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy On 2/12/20 4:54 PM, Randy Dunlap wrote: > Hi, > > kernel-doc supports "..." as a function argument for varargs. > See Documentation/doc-guide/kernel-doc.rst: > > "If a function has a variable number of arguments, its description should > be written in kernel-doc notation as:: > > * @...: description" I missed it, thanks for pointing it out! Regards Arnaud > > > So the below could be done as: > > On 2/12/20 1:32 AM, Arnaud Pouliquen wrote: >> diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c >> index 097f33e4f1f3..5f9a5812505c 100644 >> --- a/drivers/remoteproc/remoteproc_core.c >> +++ b/drivers/remoteproc/remoteproc_core.c >> @@ -224,7 +224,7 @@ EXPORT_SYMBOL(rproc_da_to_va); >> /** >> * rproc_find_carveout_by_name() - lookup the carveout region by a name >> * @rproc: handle of a remote processor >> - * @name,..: carveout name to find (standard printf format) >> + * @name: carveout name to find (standard printf format) > > * @name: carveout name to find > * @...: standard printf format of args to search for carveout name > > although I'm not so sure about the descriptions there. > >> * >> * Platform driver has the capability to register some pre-allacoted carveout >> * (physically contiguous memory regions) before rproc firmware loading and > > > thanks for the kernel-doc update. >