From patchwork Mon Jun 18 12:33:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 138925 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp3899392lji; Mon, 18 Jun 2018 05:34:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKICihZps+92Ot4Xi10PdG722dvlhrNogXqD/weAwr+RY9tN0LG44IJLgNVDildOgtcqJQvy X-Received: by 2002:a17:902:583:: with SMTP id f3-v6mr9831731plf.115.1529325268291; Mon, 18 Jun 2018 05:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529325268; cv=none; d=google.com; s=arc-20160816; b=zHpAcOYyzp+x6o3T3Pt2Hal6pX+aeDtDpXWavSqb7YzjWulp4R5Y3M91jn9l7NyQwD yXS7iU+aZmsFItBQvSqPwpL4NYWVioUUqA3do5WNHgDvqbsadL2Q2xzeUjl7N6oFCN6d l8uobVqfaaPxkkCgQlaaQ5nYP2drNlW/eLTTroiT3UvGH/VqC4I1OBeHfl0ya9X5Z8oO h4/fM0omHOr2WXHF8GLUMucj2H2cAxetPi5A+2giCznJE/MC9rauOACyNewKyPrciCOd B/ggJUnV6dqpwX4IGU5oS1WxLuzumyt1YgrUhSV8fpPEOvOuox3/KzanVpeRcgh5/y3d qtYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=J47IhCK8M8lCfmaSOIe9348JTkwuAxFUkUAyXyGc/R8=; b=pFSun5WxEbJpUQm9ZUCwW6L6FUroMF+jbZV9nCRxrL8W806ZGNbqgfh0f5W7lKylLb dfJ0LenWbDBeJ2qLzGhgoJ9HbUFj+0cqi9FTpI0UL+l3GMoNMEE2Y1mgpHAsrqvICXQ1 MiAYkxC3IsrBV97TTlSKKW7ib3N8HAd3xIqmEkLirA/y78XjqRKcXWyP+j1NBS57QWm/ XW4UjQgAeguZ1ChkP2MKLAVJn9R2XlP400FNZ3KehNwrXXif3kq+aefJ/t8vs5doev3e nNs2MGCNBViK8LkojBAMPl0KhowXVUjdy1etGmEIPHibQCOSypo7wGNShpVdUWi6h0rf FdEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=abvWTwWX; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9-v6si12195731pgo.36.2018.06.18.05.34.27; Mon, 18 Jun 2018 05:34:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=abvWTwWX; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508AbeFRMe0 (ORCPT + 13 others); Mon, 18 Jun 2018 08:34:26 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39245 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754321AbeFRMeJ (ORCPT ); Mon, 18 Jun 2018 08:34:09 -0400 Received: by mail-wm0-f68.google.com with SMTP id p11-v6so15238665wmc.4 for ; Mon, 18 Jun 2018 05:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Vx8TlFkg5GYV7lFQXfNT+lRC4bhizL4OBcbu8QAXzh4=; b=abvWTwWXzTxST3/NnXfsa/MmUSDa25WbwGyx8fGbv7Dj1D6kKx+0vdPgUI8mFWOc4c tQGK2wnm1EGle5HRdeS++DhXchUkFtOpdsi7Z7zM+97fvHafCWguuWInWFtcVR4CrHKC mSVgnUJMKwhVSU7LD9OqGc4LK1me9NZG7P5OI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Vx8TlFkg5GYV7lFQXfNT+lRC4bhizL4OBcbu8QAXzh4=; b=j6/dnK6jOIcLjeYxcHyTmxxenDVfEuvEGFKFxyyHvvtJxsD8y462RztTQnJpaNk+Th 4WE/+zVt/ciFjlo0222HjsxcQVdx4aZujzjTZwENH0eOcILMmWbisKkuekzLIAxEB0R0 r36mqwdaQCvVoZqWx7ZXgZXcomqcFa8C3xCsWZ18ONmFEK2FGiB/rl/2myTyWCImkyOW 3s5al6D7LH7pPak9bZdFFfWs6/Tw5tQtOT9SUUsiUJSwJkVkLRyJOLLBCXvw5zBOpL8k DcRuoe5q/F9PuM2j1MO9myLECLFXkuIQcyU6ihluvQP+5EtKx4qu4Y9Pq3EGkt8LcBbw kBlQ== X-Gm-Message-State: APt69E3Lbk+vco6+JC/2Yj5T8m6bhX/sa9OVHy6FGZR69mvyIlrdzWbS omwr4xZH5a5iA/oTPgLOk3efxQ== X-Received: by 2002:a1c:e0c6:: with SMTP id x189-v6mr9088535wmg.52.1529325248046; Mon, 18 Jun 2018 05:34:08 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r10-v6sm24291318wrm.66.2018.06.18.05.34.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jun 2018 05:34:07 -0700 (PDT) From: Srinivas Kandagatla To: ohad@wizery.com, bjorn.andersson@linaro.org Cc: linux-remoteproc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 3/3] rpmsg: smd: fix kerneldoc warnings Date: Mon, 18 Jun 2018 13:33:39 +0100 Message-Id: <20180618123339.24115-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180618123339.24115-1-srinivas.kandagatla@linaro.org> References: <20180618123339.24115-1-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch fixes below kerneldoc warnings qcom_smd.c:141: warning: Function parameter or member 'dev' not described in 'qcom_smd_edge' qcom_smd.c:141: warning: Function parameter or member 'name' not described in 'qcom_smd_edge' qcom_smd.c:141: warning: Function parameter or member 'new_channel_event' not described in 'qcom_smd_edge' qcom_smd.c:222: warning: Function parameter or member 'qsept' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'registered' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'state_change_event' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'drvdata' not described in 'qcom_smd_channel' qcom_smd.c:737: warning: Function parameter or member 'wait' not described in '__qcom_smd_send' Signed-off-by: Srinivas Kandagatla qcom_smd.c --- drivers/rpmsg/qcom_smd.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index 6437bbeebc91..8c6a142050f8 100644 --- a/drivers/rpmsg/qcom_smd.c +++ b/drivers/rpmsg/qcom_smd.c @@ -93,6 +93,8 @@ static const struct { /** * struct qcom_smd_edge - representing a remote processor + * @dev: device associated with this edge + * @name: name of this edge * @of_node: of_node handle for information related to this edge * @edge_id: identifier of this edge * @remote_pid: identifier of remote processor @@ -106,6 +108,7 @@ static const struct { * @channels_lock: guard for modifications of @channels * @allocated: array of bitmaps representing already allocated channels * @smem_available: last available amount of smem triggering a channel scan + * @new_channel_event: wait queue for new channel events * @scan_work: work item for discovering new channels * @state_work: work item for edge state changes */ @@ -172,10 +175,12 @@ struct qcom_smd_endpoint { /** * struct qcom_smd_channel - smd channel struct * @edge: qcom_smd_edge this channel is living on - * @qsdev: reference to a associated smd client device + * @qsept: reference to a associated smd endpoint + * @registered: flag to indicate if the channel is registered * @name: name of the channel * @state: local state of the channel * @remote_state: remote state of the channel + * @state_change_event: state change event * @info: byte aligned outgoing/incoming channel info * @info_word: word aligned outgoing/incoming channel info * @tx_lock: lock to make writes to the channel mutually exclusive @@ -187,6 +192,7 @@ struct qcom_smd_endpoint { * @cb: callback function registered for this channel * @recv_lock: guard for rx info modifications and cb pointer * @pkt_size: size of the currently handled packet + * @drvdata: driver private data * @list: lite entry for @channels in qcom_smd_edge */ struct qcom_smd_channel { @@ -726,6 +732,7 @@ static int qcom_smd_write_fifo(struct qcom_smd_channel *channel, * @channel: channel handle * @data: buffer of data to write * @len: number of bytes to write + * @wait: flag to indicate if write has ca wait * * This is a blocking write of len bytes into the channel's tx ring buffer and * signal the remote end. It will sleep until there is enough space available