Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6232566ybv; Wed, 12 Feb 2020 08:22:17 -0800 (PST) X-Google-Smtp-Source: APXvYqx1CCcDEbYynR/Wq8xkz5UhY9n49s1eH9S8vRkZQPGAnKUG+avP4vQ46+Swmw2bATLYn4xf X-Received: by 2002:a05:6830:1e6b:: with SMTP id m11mr10160475otr.293.1581524537790; Wed, 12 Feb 2020 08:22:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581524537; cv=none; d=google.com; s=arc-20160816; b=JEMNQ/YEusBzh4PQjr/04Vi5ysGh/kLLiHRPH8Eza5wEd8pdDOpxr19xvFEgSBIEx8 xE0FIijx9n2g2LOxI82VSCAWGNUaZBjooOtksSKxVknEJjddy2D6RXsJ33UMNFDejA1P JhJiDFFNrrZgMNax2mdpwoikStaS44RLo19J4igW2g5PeqrMcVXr6b3gALl3IHYWIzvz sqGYmAt5dZFgHUgR/emwhSjz4BL272VWXBwZQhYIj3UL9v1SLHrPuiwDc9Gc5eWAdy5V yfSq63Q+XXCVXqCB5w18MMllXZQ/qaxTgK9H8wRLDQbg/n83Ja1XO3i0eNh3E9+IbSgJ zGWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=Weu6ZA+PyUy2+PoUXVFN2sK7h7HYHWKdWBIUWTxHz/o=; b=iVmXEtYBcgh8zpim3Jc3yTtZOibJaNY86GDEoZCcE3c3KqNIBNgylJZIt08aVSzbK0 /CWjP8HszOuy7AdW3XudJ8uXa4mpE1ElsOhJrB5sN8DtpzNBJ6jhLdzGqEVXxC8ywaPE KjUqiKpf0Z3sw/tGbXmFCqt7oRw7Hc/A9o50y/FB85gTgJsor0Pj1gjPfi2dOZHLdhfM eHkAz+g0zXkJL0rl50epQw9S7UcxU81ldCr30ppNFNVrtF3ky5+hc+1VaY8zLvzRmCsf THYXqDQSJrmzEPUJIVkRWJR493bHEHMGhbnCD1oqxuF85m2Gnpro/Cs7cowNamcs33J1 GPdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=CMur7feI; 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 h21si423944otk.196.2020.02.12.08.21.58; Wed, 12 Feb 2020 08:22:17 -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=CMur7feI; 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 S1728523AbgBLQUe (ORCPT + 99 others); Wed, 12 Feb 2020 11:20:34 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:39412 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727264AbgBLQUd (ORCPT ); Wed, 12 Feb 2020 11:20:33 -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 01CGIcdS019840; Wed, 12 Feb 2020 17:20:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=Weu6ZA+PyUy2+PoUXVFN2sK7h7HYHWKdWBIUWTxHz/o=; b=CMur7feIixguTR8YPcKX3bhi4oEPJcC5JQe6qzwKO3p/qu46AloQinbEjFVX5/3spwe1 4s6L1aJ2SGKGQixG9TSg+GUCh0INGJl5fdbuImYYx2nST6wyboO9BUc4GtuHyQ8HnYEp EdCxPdRw9HZA7oK3EvlB4upQCyinfwJAL60INDLxeJhESVFC/3iQ3GMbriahKPsyLPNn mGsfXu0GZKKdZf+X3HjI//aK10kjz2p7Su3F7XzxUEC0ZgVM5OzIgqJBtZUy8AD/GE+b bbVCKg6WhHHeBcrdTCh1JTe7XpRRVQ0guMbfdwrN25tSbdcRzEEi63n5v1KrhpZU25Cj XA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2y1ud9yffa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Feb 2020 17:20:26 +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 B71A010005A; Wed, 12 Feb 2020 17:20:21 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A938A2BE245; Wed, 12 Feb 2020 17:20:21 +0100 (CET) Received: from localhost (10.75.127.44) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 12 Feb 2020 17:20:21 +0100 From: Arnaud Pouliquen To: Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier CC: Randy Dunlap , , , , Subject: [PATCH v2] remoteproc: fix kernel-doc warnings Date: Wed, 12 Feb 2020 17:19:56 +0100 Message-ID: <20200212161956.10358-1-arnaud.pouliquen@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) 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 Fix the following warnings when documentation is built: drivers/remoteproc/remoteproc_virtio.c:330: warning: Function parameter or member 'id' not described in 'rproc_add_virtio_dev' drivers/remoteproc/remoteproc_core.c:243: warning: Function parameter or member 'name' not described in 'rproc_find_carveout_by_name' drivers/remoteproc/remoteproc_core.c:473: warning: Function parameter or member 'offset' not described in 'rproc_handle_vdev' drivers/remoteproc/remoteproc_core.c:604: warning: Function parameter or member 'offset' not described in 'rproc_handle_trace' drivers/remoteproc/remoteproc_core.c:678: warning: Function parameter or member 'offset' not described in 'rproc_handle_devmem' drivers/remoteproc/remoteproc_core.c:873: warning: Function parameter or member 'offset' not described in 'rproc_handle_carveout' drivers/remoteproc/remoteproc_core.c:1029: warning: cannot understand function prototype: 'rproc_handle_resource_t rproc_loading_handlers[RSC_LAST] = ' drivers/remoteproc/remoteproc_core.c:1693: warning: Function parameter or member 'work' not described in 'rproc_crash_handler_work' Signed-off-by: Arnaud Pouliquen --- drivers/remoteproc/remoteproc_core.c | 10 ++++++++-- drivers/remoteproc/remoteproc_virtio.c | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 097f33e4f1f3..3f0026cf67b7 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -224,7 +224,8 @@ 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 (format string) + * @...: optional parameters matching @name string * * Platform driver has the capability to register some pre-allacoted carveout * (physically contiguous memory regions) before rproc firmware loading and @@ -445,6 +446,7 @@ static void rproc_rvdev_release(struct device *dev) * rproc_handle_vdev() - handle a vdev fw resource * @rproc: the remote processor * @rsc: the vring resource descriptor + * @offset: offset of the resource entry * @avail: size of available data (for sanity checking the image) * * This resource entry requests the host to statically register a virtio @@ -587,6 +589,7 @@ void rproc_vdev_release(struct kref *ref) * rproc_handle_trace() - handle a shared trace buffer resource * @rproc: the remote processor * @rsc: the trace resource descriptor + * @offset: offset of the resource entry * @avail: size of available data (for sanity checking the image) * * In case the remote processor dumps trace logs into memory, @@ -652,6 +655,7 @@ static int rproc_handle_trace(struct rproc *rproc, struct fw_rsc_trace *rsc, * rproc_handle_devmem() - handle devmem resource entry * @rproc: remote processor handle * @rsc: the devmem resource entry + * @offset: offset of the resource entry * @avail: size of available data (for sanity checking the image) * * Remote processors commonly need to access certain on-chip peripherals. @@ -853,6 +857,7 @@ static int rproc_release_carveout(struct rproc *rproc, * rproc_handle_carveout() - handle phys contig memory allocation requests * @rproc: rproc handle * @rsc: the resource entry + * @offset: offset of the resource entry * @avail: size of available data (for image validation) * * This function will handle firmware requests for allocation of physically @@ -1022,7 +1027,7 @@ rproc_of_resm_mem_entry_init(struct device *dev, u32 of_resm_idx, int len, } EXPORT_SYMBOL(rproc_of_resm_mem_entry_init); -/** +/* * A lookup table for resource handlers. The indices are defined in * enum fw_resource_type. */ @@ -1685,6 +1690,7 @@ int rproc_trigger_recovery(struct rproc *rproc) /** * rproc_crash_handler_work() - handle a crash + * @work: work treating the crash * * This function needs to handle everything related to a crash, like cpu * registers and stack dump, information to help to debug the fatal error, etc. diff --git a/drivers/remoteproc/remoteproc_virtio.c b/drivers/remoteproc/remoteproc_virtio.c index 8c07cb2ca8ba..eb817132bc5f 100644 --- a/drivers/remoteproc/remoteproc_virtio.c +++ b/drivers/remoteproc/remoteproc_virtio.c @@ -320,6 +320,7 @@ static void rproc_virtio_dev_release(struct device *dev) /** * rproc_add_virtio_dev() - register an rproc-induced virtio device * @rvdev: the remote vdev + * @id: the device type identification (used to match it with a driver). * * This function registers a virtio device. This vdev's partent is * the rproc device. -- 2.17.1