Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6205042ybv; Wed, 12 Feb 2020 07:55:23 -0800 (PST) X-Google-Smtp-Source: APXvYqxvAb+vMJKbQiZZepoXXvCygEIjHwQ/VfNIAa9FPgGoMhU/4a6jWGvQWS0xxwFwz5oaR0Rw X-Received: by 2002:a9d:7ccd:: with SMTP id r13mr9542594otn.56.1581522923331; Wed, 12 Feb 2020 07:55:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581522923; cv=none; d=google.com; s=arc-20160816; b=QauIY/stz2CWKL5Rslcs/FZ0TFPul0Zf7dsteA5D2MORC7qqt+9/aWG8yk3CjBIxLK iuK29LUjoVm8xlyUi9rfZo/iDRE4MQ9ogAaGuX4elbsGl7t6SU+hzZw/e1SroWqzTfRA 3rM7xk1RTBEqmyYDgZ0bpufUucp/Zu+ywK3Z0ubyQObgUtI/uwtl5aDRFv17OIa5XDX9 3VbrkWhE6F/DnYbV1ydmw6dKbG6qth2CQy2en6IGHEXmT3eGr/V+nCrzbr48ouDMRWXr lGW1/zkNTnaQ3QrgpWK040dbJoKiOqjph5qNuDHEp4LRROi98A5IM0y2ruAnAgfTPo13 et9Q== 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=EIQuvZVjRgnZucfdtz7UxkDAyXXF62ACmzF0Z1QyBKQ=; b=ZF4BapQnYmCL2ZxTRuttYMhLZGQZAImviXSjNyQ3C8lQ5Bqd/JMG3dM17qiEEyOhlJ grIme7U9xxq0oYheC/Pq2j22VdJoSNs8HdEW0QsqZTjrDaBZB7K8gG9CMrfwBGfSFEjL i/j7bCbwTqGXa3+AUPFXDplHURBMT06WY8xnT1szurn+BXjS3so1CwIKdRWMLpgM0M8b R3AqG/5yaNKsp4mrRQgoUpC32s3uFd7opl64qDjbhrndklqhoX+EFFJSm7yMif0nDRRg PP2T4ZoWpgRNdSbureWXrqLVSWWgZj4M0FDay7H+SRRTeiBUhWBLmzdAcSPTYQNvdNb+ aTDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=I5uemIgZ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d15si390444otl.82.2020.02.12.07.55.10; Wed, 12 Feb 2020 07:55:23 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=I5uemIgZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728566AbgBLPyc (ORCPT + 99 others); Wed, 12 Feb 2020 10:54:32 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:43736 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727458AbgBLPyc (ORCPT ); Wed, 12 Feb 2020 10:54:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=EIQuvZVjRgnZucfdtz7UxkDAyXXF62ACmzF0Z1QyBKQ=; b=I5uemIgZznT+KbXN73VDUVcGQe YT/UiFrjY2biFKrNf4NvXDs8X7FZJ0am5TD+zu5aZ2+FHjB20O9wkWFzLzXaGdGavuCtBzblcBBKi SHjW5dUuZVLM4KV3o7ZhVVA1tGvysjlWcM649K0FS3i54wSZxlIT6LSdi/5WT9ULT+CVnImWlw0M3 w/dXR7XkrxM9QdfrCzO4ACyK6YjQeOQeHJkVEJAJCH0PbMYP+2X/Gz8GlNmW3ko6xN+Yiqb1shVPv e482LAGCQef8sq25rp9W2A5J9Ku20gKII0Tr7zGRrKgVxyHJCKrZHLF4jCfqDT3IIeIq6Yrqcr0OU YUUsXz9A==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1j1uLO-0002OF-TQ; Wed, 12 Feb 2020 15:54:30 +0000 Subject: Re: [PATCH] remoteproc: fix kernel-doc warnings To: Arnaud Pouliquen , Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20200212093211.15270-1-arnaud.pouliquen@st.com> From: Randy Dunlap Message-ID: Date: Wed, 12 Feb 2020 07:54:30 -0800 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: <20200212093211.15270-1-arnaud.pouliquen@st.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" 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. -- ~Randy