From patchwork Thu Nov 26 13:31:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332950 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp147939ejs; Thu, 26 Nov 2020 05:33:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIkpL+At1eoeAerWStMVbkYAbW2ce8atU/vTIjAObShQsgBPfW7Y1DD66sch2CDpHIl5b4 X-Received: by 2002:a17:906:c408:: with SMTP id u8mr1276668ejz.364.1606397607080; Thu, 26 Nov 2020 05:33:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397607; cv=none; d=google.com; s=arc-20160816; b=lqarVWilsBwLsumbsjilKkkKOmT25XobAOyEXKT9vYX0yP/LyePoHKkAFvr+ZtaV2t oxb6W5SkfQx7Yo8VTxWkYaXFRw3Uk2UaFmV6vY2epLzJkWSyU+0IVYrCbRG1UsYnMxih U4foAy1OvX7B8w7BX2x3SX46Z7UsfxFMfOwhiwGa4S6oTWfT6kq/Jsx/fSDt+wAPMVEH KR+FyFMfUjkx/Wvhb24e5FAyceTopvpVO8tLkZKxeTsFhAmqMfGkydGlEOqCFNboOE/Q H8XIBJrVRBuqIn9n6vreO63nN19NhKvMW7c/k/KFFFZifmeLTg46rlgz6yqj8bkK6kMO YurA== 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=E25/s2pmN1jYHUWPVit1bHGpEi6jEbn1M/6HbkBpU14=; b=cG0aZ7JRP6wqiN9mMXaCFuWvEdjfQeGOkkmij+iJ7N8Y9eXLExLlEj6C/j6tVCd7ml +QdcZmhcyBSF1xc6j0k0QZ+mw4NAGMgufUJuOOc965qBLs/1HVp/bXG4UBdfyv6/lUu3 q7Jj4Ro49XZ0nNmcBXUrLPsfvOGaerWaZeXTCvUjdCXyjbMnmf2bV1VkFfGtvnlXmEZy Q4z4wGb9lJajJi+ylecYptxaQtrh9YEXwaY8RgiZt17CkldGalRnEDb6TZD2kSjRnaOH 9hx5/NssXB4iBvRCKW1OQj5jZV+GaXOMeiUD93U+HXUToXFO5jGH8vMTfqLsJR9ZJYHF 862Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ghZh7I2g; 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 q15si3191310edr.58.2020.11.26.05.33.26; Thu, 26 Nov 2020 05:33:27 -0800 (PST) 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=ghZh7I2g; 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 S2390306AbgKZNcP (ORCPT + 2 others); Thu, 26 Nov 2020 08:32:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390297AbgKZNcO (ORCPT ); Thu, 26 Nov 2020 08:32:14 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D187EC0613D4 for ; Thu, 26 Nov 2020 05:32:12 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id p8so2157539wrx.5 for ; Thu, 26 Nov 2020 05:32:12 -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=E25/s2pmN1jYHUWPVit1bHGpEi6jEbn1M/6HbkBpU14=; b=ghZh7I2ge1DGcrfEdOn9QQfpf2S4lE4sRCwhWNIAbqweD0VZJ5aW2MLrQ3M1U5QPS9 T6pAJDHpuwlvjDev0DfaaajeTx6HZJNTfOUKd9jFcpLmhuAL4dw9pROU4JzLdRnr+nVS GnUTXR2iMIyQX0xlODvNhvrcaDWZD8EHhPCuwg89FEo57eHQygnDItIAA72Fld9+gV+1 8WLRLNXAldZgbUbhiUezL1qzrhdRbQ+cTRwl24Y0m/rTKj4QLL50sW9hWgfCjD7MvwNZ j2IZghwRkM2WeoEJnPoevWQ08nPVeZexIBWrboKaB0SEJKV5hJRvhLLSaNf+h9QNydzJ 0ZzA== 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=E25/s2pmN1jYHUWPVit1bHGpEi6jEbn1M/6HbkBpU14=; b=S5Im/cnChpM5LxNKJFVBmaeGyNBSRcq7kBNEiZS9Wp/xzMRwMR83cZfNPzib1B1fv7 ogpyHhRYq6u2AHoh2hid49nUhbQGa6kCJtKW2bgEOJnAkpe+Gt5Uc+s+2yTBJDUk4lic OI1uHwjAQVhGd2iQYOe4ExKclOR+HqdkhaFB6RZzHVhtGYAfKS8pGBnOfP04VInoQL44 W0wn5bLwZUMKKtU4QlCPSYj3OuLSkjO4Psm7c2/6/rX06FHyyJtPFWsKr7BgOsjeB+4e VpeeX+JOEEdczxaPGbqiSG2XspH73TiL5IPA6tXpCMy0UD4wEdxATaDPmp08Bl1kXwV5 i4AA== X-Gm-Message-State: AOAM530sfnscf1Dr1u0ckBlpX/dtRii9L1dYmcm8hkN4oq1g6pPRIWT7 NykjlzkQr++9jkC1gYS9PHVayg== X-Received: by 2002:a5d:4d92:: with SMTP id b18mr3997659wru.260.1606397530996; Thu, 26 Nov 2020 05:32:10 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id n10sm8701001wrv.77.2020.11.26.05.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:32:10 -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 12/17] ath: dfs_pri_detector: Demote zero/half completed kernel-doc headers Date: Thu, 26 Nov 2020 13:31:47 +0000 Message-Id: <20201126133152.3211309-13-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: linux-wireless@vger.kernel.org There are only a couple of these and none of them are conformant. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/dfs_pri_detector.c:39: warning: Function parameter or member 'head' not described in 'pulse_elem' drivers/net/wireless/ath/dfs_pri_detector.c:46: warning: Function parameter or member 'val' not described in 'pde_get_multiple' drivers/net/wireless/ath/dfs_pri_detector.c:46: warning: Function parameter or member 'fraction' not described in 'pde_get_multiple' drivers/net/wireless/ath/dfs_pri_detector.c:46: warning: Function parameter or member 'tolerance' not described in 'pde_get_multiple' 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_pri_detector.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/dfs_pri_detector.c b/drivers/net/wireless/ath/dfs_pri_detector.c index 05b0464c6b92c..d07c454c9c00d 100644 --- a/drivers/net/wireless/ath/dfs_pri_detector.c +++ b/drivers/net/wireless/ath/dfs_pri_detector.c @@ -29,18 +29,17 @@ struct ath_dfs_pool_stats global_dfs_pool_stats = {}; (MIN + PRI_TOLERANCE == MAX - PRI_TOLERANCE ? \ MIN + PRI_TOLERANCE : RUNTIME) -/** +/* * struct pulse_elem - elements in pulse queue - * @ts: time stamp in usecs */ struct pulse_elem { struct list_head head; u64 ts; }; -/** +/* * pde_get_multiple() - get number of multiples considering a given tolerance - * @return factor if abs(val - factor*fraction) <= tolerance, 0 otherwise + * Return value: factor if abs(val - factor*fraction) <= tolerance, 0 otherwise */ static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) { @@ -70,7 +69,7 @@ static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) return factor; } -/** +/* * DOC: Singleton Pulse and Sequence Pools * * Instances of pri_sequence and pulse_elem are kept in singleton pools to