From patchwork Thu Nov 26 13:31:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332957 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp148157ejs; Thu, 26 Nov 2020 05:33:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwy3qunO1UmCDFYZJJfREoD32JTDiSR0jpEtLJ456Y+Og5T63yVk4SO+bpAtF5bHceisMnB X-Received: by 2002:a17:906:1498:: with SMTP id x24mr251064ejc.170.1606397620316; Thu, 26 Nov 2020 05:33:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397620; cv=none; d=google.com; s=arc-20160816; b=SWepvQd7HDdBQdXJ90YqkhHMj//NxiDP0vRbEmnZCutYm8QEYtwLbmV5Dxr99p1Vrk WylPuUpjdmYbQYy1rV+xya/mXLIZkeZZ6fANwxbDe2VqSxlZ3/m45c+AQtOFWui2gQ1V 0ds++/6SnE1zfbqcO7FfphgCECW8pzkw19VAgcqm5kle1xgmT/+yASuL7rkewdLCyaz6 PV743T8FwLYwRmsvX3Zlx+YjUhYrcoj84mtBtW5cFDFvwrguY84wEhaD01QEVqVhiTlm vfl6WdsXUpSOrrEnHexpjhMoAWTbeRg200aasu/q+mDwY89RiBIOQYdKdX98Ac+9gl7w 0o2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OcBd80NlVbn3uGSdfGXvocYKOP7aRNETXFKMl2YiPGc=; b=eQhKq6r3+1vwTOAHwq7lwpb9xtYzDujHAhGZipp2vGxSBYI7FSlNhy2vQhdt+kX15C dULH5VQuYy7R32iPnXTTj5WszL1ZtpauusJPlD62Pctg9N22EASL1WxAMfXBAYpEyf4d chB0u7zVzvNwpFJrCSHMV1e4/GzdCEZTPlb+HhgLTr8Ca4wkO8UJ+k5+NxEFxSU4cCNj TD5C9jnxIiOsdik8R8c6wbm6/u8Q5y1J4vkZ9nUb9ZQeCmvixikhp9FOSBg/DGsF4g3h 7rkpU8PkR8c5M7X80MQ3Yv7Y00fy3ytI+l8BE/Esm0LNkwcTc9fSA9bmUqwAh9DHT90b F0hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q8jkVen1; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 q15si3191310edr.58.2020.11.26.05.33.40; Thu, 26 Nov 2020 05:33:40 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-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=Q8jkVen1; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S2390005AbgKZNcu (ORCPT + 8 others); Thu, 26 Nov 2020 08:32:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390273AbgKZNcN (ORCPT ); Thu, 26 Nov 2020 08:32:13 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A2CAC061A52 for ; Thu, 26 Nov 2020 05:32:11 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id e7so2159691wrv.6 for ; Thu, 26 Nov 2020 05:32:11 -0800 (PST) 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=OcBd80NlVbn3uGSdfGXvocYKOP7aRNETXFKMl2YiPGc=; b=Q8jkVen12XCoRGnL4iPurJx+25LwQnN4rkU8WQh9kxbtbsrgsycqNffe2qOGBYR+7C Svfqh6UT2eGQdJXGyNyslkVr/NuOXoGtaDzSUcNQ3uptyIFnbW+fO3wzISfc1qaQsjJi 5vZlttAaVI5n5zE874WJack/ZatNl3cE9nZWW+B4v04noSvn3CuzseQtPkQTXoF5QSS9 eVRsopl+s0zomc541bDr63PewFZ8NVmVKt8HuY1l1P5/DW/m1U8JXu/MWptu1wjCpjwR abJII0TpdSoGv/qiXv3CZY+vSNLU8netmmGJxdMR4phDapNWTVDvBCXciVvU75IRIFcM 8i8w== 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=OcBd80NlVbn3uGSdfGXvocYKOP7aRNETXFKMl2YiPGc=; b=PSo8HJGbuFmET3qKfoP/M+eoomh6+P1opxg7yx7RwobraYUUbuboR/t5FIQN+E3QET WWtACdPV3I+lnXEomll4/a9WjyNyKG5FmjBY8cibbXl00Ek5kujXTTChhMsHr9aHg6js hTtDR+vE+NDeLq63Oi5yQWiaBDCG520NzSLDmqilDwwIzaI8zuDDiQ9v0KltrYWObCne 3md0oEM+FQSYwn1R+dk0TPpt63ZoO28BvBVahoxvrMEWRfduxrHp92RLKgVr0QdA66MJ 0k5MSqWvb3YaDsK17jLoD5aSAAhKRoMmL9Nhl9n/y8THuwDlCpGQamBcywkUAby5N+6H sz+w== X-Gm-Message-State: AOAM530y67qCIc1jaQzUk02w15FV7mPVsW1i6pTKC8ZCYpL8hHVcWEn2 s1MtQVZDh7o75Iw1IV0pihXB2Q== X-Received: by 2002:adf:fc49:: with SMTP id e9mr3872317wrs.31.1606397529940; Thu, 26 Nov 2020 05:32:09 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id n10sm8701001wrv.77.2020.11.26.05.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:32:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org, kvalo@codeaurora.org Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 11/17] ath: dfs_pattern_detector: Fix some function kernel-doc headers Date: Thu, 26 Nov 2020 13:31:46 +0000 Message-Id: <20201126133152.3211309-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126133152.3211309-1-lee.jones@linaro.org> References: <20201126133152.3211309-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/dfs_pattern_detector.c:34: warning: Function parameter or member 'region' not described in 'radar_types' drivers/net/wireless/ath/dfs_pattern_detector.c:141: warning: Function parameter or member 'region' not described in 'get_dfs_domain_radar_types' drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'dpd' not described in 'channel_detector_get' drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'freq' not described in 'channel_detector_get' 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 --- drivers/net/wireless/ath/dfs_pattern_detector.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/dfs_pattern_detector.c b/drivers/net/wireless/ath/dfs_pattern_detector.c index 0813473793df1..80390495ea250 100644 --- a/drivers/net/wireless/ath/dfs_pattern_detector.c +++ b/drivers/net/wireless/ath/dfs_pattern_detector.c @@ -23,7 +23,7 @@ /** * struct radar_types - contains array of patterns defined for one DFS domain - * @domain: DFS regulatory domain + * @region: regulatory DFS region * @num_radar_types: number of radar types to follow * @radar_types: radar types array */ @@ -133,8 +133,9 @@ static const struct radar_types *dfs_domains[] = { /** * get_dfs_domain_radar_types() - get radar types for a given DFS domain - * @param domain DFS domain - * @return radar_types ptr on success, NULL if DFS domain is not supported + * @region: regulatory DFS region + * + * Return value: radar_types ptr on success, NULL if DFS domain is not supported */ static const struct radar_types * get_dfs_domain_radar_types(enum nl80211_dfs_regions region) @@ -227,9 +228,10 @@ channel_detector_create(struct dfs_pattern_detector *dpd, u16 freq) /** * channel_detector_get() - get channel detector for given frequency - * @param dpd instance pointer - * @param freq frequency in MHz - * @return pointer to channel detector on success, NULL otherwise + * @dpd: DPD instance pointer + * @freq: freq frequency in MHz + * + * Return value: pointer to channel detector on success, NULL otherwise * * Return existing channel detector for the given frequency or return a * newly create one.