Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp204418pxj; Fri, 28 May 2021 01:49:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB3X4OvwesFp7aZBQiWy4TGp3F/h/z6b/uQfb1MzRn68o7MDMfE6AO/2EBJkgbg06B003J X-Received: by 2002:aa7:cd83:: with SMTP id x3mr8555778edv.373.1622191759049; Fri, 28 May 2021 01:49:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622191759; cv=none; d=google.com; s=arc-20160816; b=y/rfX0HdFK8u0Il4aduxTcxk4hAnK0Zbq13j3zls63OICJguZn23PtkxW2+JQqEYT3 UL5Li7AeOoeTkS3+rglKaBnEmp6D3vEFtGfWuY2zVXgw/1IseD6JZx8fqPWjBWhLtHyU utb8N0vdly9SHxJLPH2saslsFs2j9WVq1EDpSsSi3tzJiMcoyTZILHDuIF4yrzKpRVuM r8Oy4FNHA/ra5aR8+HkoxProISSg4ABUHXcbkkipyR2JIKnsX3L3IwYh8Ca+lf5x8ZFL vSUThWYiZBKPwJDMz3+NBJd4uDrktkk57BPDa+Ko5Y0YX+c+kNBVxntZAblaqBAc5G4C /Zsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=89Ift1OU78vKtiGlNnIxDJCwM07AOIScHSivLdjVYhE=; b=TPKIvPAEq2z/nxWx3gWpM8Kw+AeO2Ug2CcJwdZx+IiUcn/Ho8fcqI5HAnhStrw9eQb CGyUJjTOohzN+XE+7ziqQJX/NttyhimxP6k1OzWR+JU21X1ux8nCLo6R8ewo22mmnWFS ZpTXoE+w/1yC1OzU/QKv8BWZ1P/Crq0DhnxsDANQ9OcNEmZRZaQQEqDBItq0cThgXgUn OgkyI6FGQ2c6r1UvTUJymYuirYIQvVXHAQsgz7+D9jaypmNj7uVMvIDsU923qPE/UZaN 9XvcIS4RMcQUKRArrXryWYNvTJPugUhBQM6frm2XPObqfoRZmtibbH8Lsg7j/Uk3xsDR hwtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rn4NEkcr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v22si4446501ejc.505.2021.05.28.01.48.56; Fri, 28 May 2021 01:49:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rn4NEkcr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236262AbhE1DI7 (ORCPT + 99 others); Thu, 27 May 2021 23:08:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234085AbhE1DI6 (ORCPT ); Thu, 27 May 2021 23:08:58 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C859CC061574 for ; Thu, 27 May 2021 20:07:23 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id d21so2885342oic.11 for ; Thu, 27 May 2021 20:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=89Ift1OU78vKtiGlNnIxDJCwM07AOIScHSivLdjVYhE=; b=rn4NEkcrpv1c/o1jdjygsc3kzakWgXejAkh0y1fGD1jSkvspt5vZv+KUbcnjnTjZ9H zlS2ox/g2O+oQBf53t1niN+/XlEmpiWCHOd1X7vK9OkmlfPtMhLkjqFLKs45elo1z642 7fVvKztv7sbNjq2c2zKKeyVqhajiW+OgNiPCs3qY+uB9z8EcL2GaKwbyOhLu56QXB5Sz 5lXxL7enT8hcp7UhIHuhCkZkcRx/Q20aN87kEO29Wr9Jy4soHZdoEICnZ894JwPuH/d5 aEmEVx8mAHksbR2iLe8CUQrNDPuOpnaSiwhmO3ApTAeqqC4taueSEQLJ4xifBgwWw9zx GJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=89Ift1OU78vKtiGlNnIxDJCwM07AOIScHSivLdjVYhE=; b=XEdVSlmrRtOIal2ZNp0wBZ2tI/LDAUD+ORe3HJEGEQjJyI1nyQhTWHLVtyAMSsMp7O BzsH22jJNf00uOtDdfJzWIzybfZEqVHKX2HmEHloyAFtwLJX4LxLQVsB+qX58LdszCF0 hboI/Q9g8qAMyTR7lGqyK+7oVORBM3eeVYArVnRpzLN2N8UyT9Ya+gK6T5Rj1OxXxa4w rrFpAkcEV9o6AcfsPnXwmjWifX+OVdqTWTGFff6oB60l9GdMGtM/NOaedJVjkgI/azwr ovNcpvQ61BxT9B88NGQcfe+NDfUYGDLujDxEtqPOhSntg4zSeYxUm4F4dCvujlT3pCs9 0OhQ== X-Gm-Message-State: AOAM531aZmFlHOHqp+uVpXEqeMPxYEuTnoXqtoGHO6ORrHsW0WRRf/8D OqEeikQZiPb600xyj/ECrPCTSCPCdWTYTQ== X-Received: by 2002:aca:1916:: with SMTP id l22mr4606188oii.48.1622171243112; Thu, 27 May 2021 20:07:23 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id i17sm825381oou.37.2021.05.27.20.07.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 20:07:22 -0700 (PDT) Date: Thu, 27 May 2021 22:07:20 -0500 From: Bjorn Andersson To: Mathieu Poirier Cc: Suman Anna , linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] remoteproc: Fix various kernel-doc warnings Message-ID: References: <20210519180304.23563-1-s-anna@ti.com> <20210519180304.23563-3-s-anna@ti.com> <20210525180006.GD1113058@xps15> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210525180006.GD1113058@xps15> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 25 May 13:00 CDT 2021, Mathieu Poirier wrote: > On Wed, May 19, 2021 at 01:03:04PM -0500, Suman Anna wrote: > > diff --git a/drivers/remoteproc/remoteproc_elf_loader.c b/drivers/remoteproc/remoteproc_elf_loader.c [..] > > @@ -362,7 +366,7 @@ EXPORT_SYMBOL(rproc_elf_load_rsc_table); > > * This function finds the location of the loaded resource table. Don't > > * call this function if the table wasn't loaded yet - it's a bug if you do. > > * > > - * Returns the pointer to the resource table if it is found or NULL otherwise. > > + * Return: pointer to the resource table if it is found or NULL otherwise. > > Here the '.' has been kept while it was remove for all of the above. I don't > know that the right guidelines are for this. > Reviewing https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html I don't see that this is defined. So I'm fine with whatever looks good. That said, the section about "Return values" shows that the "Return: ..." line should be short and concise and if needed followed by a newline and then a longer paragraph. I'll fix the capitalization of "the" below and apply this as is and we can go back an reformat these multiline Return entries later... > > * If the table wasn't loaded yet the result is unspecified. > > */ [..] > > diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h [..] > > + * 2. immediately following this structure is the virtio config space for > > + * this vdev (which is specific to the vdev; for more info, read the virtio > > + * spec). the size of the config space is specified by @config_len. > > s/the/The > [..] > > struct rproc { > > @@ -613,10 +617,10 @@ struct rproc_vring { > > * struct rproc_vdev - remoteproc state for a supported virtio device > > * @refcount: reference counter for the vdev and vring allocations > > * @subdev: handle for registering the vdev as a rproc subdevice > > + * @dev: device struct used for reference count semantics > > * @id: virtio device id (as in virtio_ids.h) > > * @node: list node > > * @rproc: the rproc handle > > - * @vdev: the virio device > > * @vring: the vrings for this vdev > > * @rsc_offset: offset of the vdev's resource entry > > * @index: vdev position versus other vdev declared in resource table > > With or without the above: > > Reviewed-by: Mathieu Poirier > Thanks Mathieu, and thanks Suman. Regards, Bjorn