Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp274382pxa; Wed, 19 Aug 2020 00:26:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2EhGakWawQeLnB+WRutzuaclJQA7ElNhdjQs3j5kyiNMGGP9umKdFvX8CwDCwrWIgFUfy X-Received: by 2002:aa7:d1cc:: with SMTP id g12mr24045068edp.385.1597821977846; Wed, 19 Aug 2020 00:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597821977; cv=none; d=google.com; s=arc-20160816; b=ScVYaKmuunT3kUyCtdoOnFBZ2pd8dlXGbWpehYGAxDIMjP9AT15vbFrWc7Zq+IaeNg MN4o1EQ8WcpMbqiPae7nb0ZTe5sRGi/ZjVcc/oT0QdoSBU6uqBmaPvCZ9ura08eJrmo+ hlwZlg0sy3/e9TmrIMZvOFkl6chC8bTajvoAWuhk6WCL7++R/4nS3XwHHQKdNbKzeEFN AiFUN2omlJldjX4qKtHI2h7J4LWqfOAxbRZOeS68YL8K+lu+EuLwfid+F3z+BZfkRvtE NMYndKh7RDZQlHo0oQp0z0/vMoNz8X9UG3YIulb+6ut6/gEHwyFj+LQmO2e12Msf4D0j ZMww== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JMy0Elzxv6D70JA3ki/IhZMZdSeQ2746f7kuidJvSJA=; b=Z6+dj5/fCwShQlaTMyerdOu6JoTF4TQAK3A0vUPxbquL/YXwNQ7nGaFw8zCeaCz+g9 eEwu1zr5Rlw9pI+pqHY2GRgOUtlTUtH0w5kcc3Nt0UNiPhwRWNCSj+J+sCSZ/N2eUV9B MkFu/AWmapi66YinuBIxcRo1x6pq3ynH5z6zuyz5izAOizHzaU1Ybe96GqVOC5CVeYmH /89RcFHDCHKoffDwqwF6rY+4f2d0JzV91AAum8WAQDmltQh1Z2fYPGx/0vVBPiDfpl0w +HDCASberqjkLZJ2rvk9VRxTJZ+18enoE3n6M8XTKoez+xPq8Ntd6kcwhgB5Km5l4B6n cMAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KewUdkqI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 mj19si14629535ejb.291.2020.08.19.00.25.53; Wed, 19 Aug 2020 00:26:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=KewUdkqI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1727870AbgHSHY7 (ORCPT + 99 others); Wed, 19 Aug 2020 03:24:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbgHSHYT (ORCPT ); Wed, 19 Aug 2020 03:24:19 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C7E9C061358 for ; Wed, 19 Aug 2020 00:24:15 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id d190so1073476wmd.4 for ; Wed, 19 Aug 2020 00:24:15 -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 :mime-version:content-transfer-encoding; bh=JMy0Elzxv6D70JA3ki/IhZMZdSeQ2746f7kuidJvSJA=; b=KewUdkqIeiH999bep6LBPSowaQhIkhIKmDzotMinsOFwZ1b9eEVdgbQ9qhlSlP7ghz qrhJon7dBHxLHyOEhb8qunfpMt10g/1IiTwNonnepmwhPkvwRsVhqr5gxHsqLPmu9u9B FTbzj8uXY4h6oeAMuyz79Wdz6+pCzV3iG+CWq3JP0tw1o3Rwr/ardJlmASb6g0hct23x 4hTE8OLmwQhyNMNwED1LgxnjwTa1qGiIi9ebfM5Dsk/R/QG0CU3qv/gYXzBwdXbgdruO w0pwhq/ldBbRfTuFUdlYHqmaDi8+YHJ0ECYagZNWZpfLIhVeLeD5w0iihdojw9T2uQRp ZzWg== 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:mime-version:content-transfer-encoding; bh=JMy0Elzxv6D70JA3ki/IhZMZdSeQ2746f7kuidJvSJA=; b=g1XhL7ApZGr340huJGvX4JOSbse0qcqq/oSY/sOtrVmF57nkgueI++YucjDe54Gr49 8LIDW5jcKlJ76tHYOzN4fn2XagC9wATwfJV98iCtbCLQirghsWVhlU8YrlRf78BTXWd/ tX0SmZZauZswJxR1Zs8fWjHfkPYPPhn5DfdqqyUfKZsOzzXlDjG8YoXfA6hTtJl4Xti+ cQAOBkg3NbW4m/VX8WXR/ogqCZWLdvbVkXcQFTz5Rq0acTQ8UNQi+/Fdu2Lv4nlQRAwV pTEWptTFt7z30K1muAyyZ5oMkrNyBeBypZVUtdsZdOwTZrusxO5Rc6/AHLXzj9mleACa 8grA== X-Gm-Message-State: AOAM530fVkv8L5oqL3ReEzpw0UmwbkuT/BC2om8KY20jhX73JEnxobsI 0aRw9nr1eacPrrC4jkMuPVS63g== X-Received: by 2002:a1c:96d7:: with SMTP id y206mr3485361wmd.9.1597821853823; Wed, 19 Aug 2020 00:24:13 -0700 (PDT) Received: from dell.default ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id c145sm3795808wmd.7.2020.08.19.00.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 00:24:13 -0700 (PDT) From: Lee Jones To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Lee Jones Subject: [PATCH 07/28] wireless: marvell: libertas_tf: Fix a bunch of function doc formatting issues Date: Wed, 19 Aug 2020 08:23:41 +0100 Message-Id: <20200819072402.3085022-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200819072402.3085022-1-lee.jones@linaro.org> References: <20200819072402.3085022-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Kerneldoc expects attributes/parameters to be in '@*.: ' format and gets confused if the variable does not follow the type/attribute definitions. Also demote one stray non-kernel-doc header. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/marvell/libertas_tf/cmd.c:44: warning: Function parameter or member 'priv' not described in 'lbtf_cmd_copyback' drivers/net/wireless/marvell/libertas_tf/cmd.c:44: warning: Function parameter or member 'extra' not described in 'lbtf_cmd_copyback' drivers/net/wireless/marvell/libertas_tf/cmd.c:44: warning: Function parameter or member 'resp' not described in 'lbtf_cmd_copyback' drivers/net/wireless/marvell/libertas_tf/cmd.c:80: warning: Function parameter or member 'priv' not described in 'lbtf_update_hw_spec' drivers/net/wireless/marvell/libertas_tf/cmd.c:150: warning: Function parameter or member 'priv' not described in 'lbtf_set_channel' drivers/net/wireless/marvell/libertas_tf/cmd.c:150: warning: Function parameter or member 'channel' not described in 'lbtf_set_channel' drivers/net/wireless/marvell/libertas_tf/cmd.c:277: warning: Function parameter or member 'priv' not described in '__lbtf_cleanup_and_insert_cmd' drivers/net/wireless/marvell/libertas_tf/cmd.c:277: warning: Function parameter or member 'cmdnode' not described in '__lbtf_cleanup_and_insert_cmd' drivers/net/wireless/marvell/libertas_tf/cmd.c:442: warning: Function parameter or member 'priv' not described in 'lbtf_allocate_cmd_buffer' drivers/net/wireless/marvell/libertas_tf/cmd.c:490: warning: Function parameter or member 'priv' not described in 'lbtf_free_cmd_buffer' drivers/net/wireless/marvell/libertas_tf/cmd.c:527: warning: Function parameter or member 'priv' not described in 'lbtf_get_cmd_ctrl_node' drivers/net/wireless/marvell/libertas_tf/cmd.c:561: warning: Function parameter or member 'priv' not described in 'lbtf_execute_next_command' Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- .../net/wireless/marvell/libertas_tf/cmd.c | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/net/wireless/marvell/libertas_tf/cmd.c b/drivers/net/wireless/marvell/libertas_tf/cmd.c index a0b4c9debc11f..efb98304555ad 100644 --- a/drivers/net/wireless/marvell/libertas_tf/cmd.c +++ b/drivers/net/wireless/marvell/libertas_tf/cmd.c @@ -32,10 +32,10 @@ static struct cmd_ctrl_node *lbtf_get_cmd_ctrl_node(struct lbtf_private *priv); /** * lbtf_cmd_copyback - Simple callback that copies response back into command * - * @priv A pointer to struct lbtf_private structure - * @extra A pointer to the original command structure for which + * @priv: A pointer to struct lbtf_private structure + * @extra: A pointer to the original command structure for which * 'resp' is a response - * @resp A pointer to the command response + * @resp: A pointer to the command response * * Returns: 0 on success, error on failure */ @@ -72,7 +72,7 @@ static void lbtf_geo_init(struct lbtf_private *priv) /** * lbtf_update_hw_spec: Updates the hardware details. * - * @priv A pointer to struct lbtf_private structure + * @priv: A pointer to struct lbtf_private structure * * Returns: 0 on success, error on failure */ @@ -141,8 +141,8 @@ int lbtf_update_hw_spec(struct lbtf_private *priv) /** * lbtf_set_channel: Set the radio channel * - * @priv A pointer to struct lbtf_private structure - * @channel The desired channel, or 0 to clear a locked channel + * @priv: A pointer to struct lbtf_private structure + * @channel: The desired channel, or 0 to clear a locked channel * * Returns: 0 on success, error on failure */ @@ -268,7 +268,7 @@ static void lbtf_submit_command(struct lbtf_private *priv, lbtf_deb_leave(LBTF_DEB_HOST); } -/** +/* * This function inserts command node to cmdfreeq * after cleans it. Requires priv->driver_lock held. */ @@ -434,7 +434,7 @@ void lbtf_set_mac_control(struct lbtf_private *priv) /** * lbtf_allocate_cmd_buffer - Allocates cmd buffer, links it to free cmd queue * - * @priv A pointer to struct lbtf_private structure + * @priv: A pointer to struct lbtf_private structure * * Returns: 0 on success. */ @@ -482,7 +482,7 @@ int lbtf_allocate_cmd_buffer(struct lbtf_private *priv) /** * lbtf_free_cmd_buffer - Frees the cmd buffer. * - * @priv A pointer to struct lbtf_private structure + * @priv: A pointer to struct lbtf_private structure * * Returns: 0 */ @@ -519,7 +519,7 @@ int lbtf_free_cmd_buffer(struct lbtf_private *priv) /** * lbtf_get_cmd_ctrl_node - Gets free cmd node from free cmd queue. * - * @priv A pointer to struct lbtf_private structure + * @priv: A pointer to struct lbtf_private structure * * Returns: pointer to a struct cmd_ctrl_node or NULL if none available. */ @@ -553,7 +553,7 @@ static struct cmd_ctrl_node *lbtf_get_cmd_ctrl_node(struct lbtf_private *priv) /** * lbtf_execute_next_command: execute next command in cmd pending queue. * - * @priv A pointer to struct lbtf_private structure + * @priv: A pointer to struct lbtf_private structure * * Returns: 0 on success. */ -- 2.25.1