From patchwork Tue Jul 14 14:50:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235528 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp201081ecp; Tue, 14 Jul 2020 07:50:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnQRC/LhyIiweSvZb3z1JqQG/XvTQHEjEok9BSmXU1lTz0k8XiQtaRipHjf/BsWDn0mUlY X-Received: by 2002:a17:906:4b59:: with SMTP id j25mr4649002ejv.301.1594738258129; Tue, 14 Jul 2020 07:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594738258; cv=none; d=google.com; s=arc-20160816; b=xRmFe5CcVicrOc3a3pN0o3a0ZatL+yECkRKY88h7XuqxIcARpIwD+vLAYfIc3Jvcqm wugdHjA+rR8gjbylApQagmT0s1hLPqwJIMrMSWkewmrvNG8HbCCKl00SAc5ThOUXYcl2 QWnVFCnoy+RGFOXxM6odwAuKcwSgIuVq3PasoZ/ya72TmVHBFIK3u4GGK/vC1yIz7QIn gAk6fyEuEcMHwLZkdMDRAtfvDAufSTNkON6Ciyee5dSURhGCmz2aR6wvyeLUcTz1bbCb wVmvnrsGUsP2vUv95pEyviD6eNqjD5sVCRS4U1kfg429Zq7bbZxQiaslrFMc4jmpv+Ra UYjQ== 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=PyDCzRLu9Rp5ffLvCZoaXuGAE+qn3bcIj12X3rgDaY8=; b=z7Fu3UZBk1D5N1k7SuqDbfhrJ+x/YiSXguc+MxHxVgoMcLlm5aZMP58vAaIIBSNfXx Np/w/mE2HEFgQZZ4q9bB64A9clnOjWWM61boD6NV2Vd+srKNlePEGlH9hgeD8oFXalet WTOsug/9Ep2gjHkcLtaLmnYpzeIZMtgMS0OqC8hJQrc0i6AekCTEZxp3xy0Ri7CWY6Wv cC5tP+S0DSGpk2GuzjqEON1AtbzS16V2frlwygqQ3BSlRPbmNH7+SpyFLqa2GznW90VE MgGTQ/xCJzBHnfCurDC0LGhUAqidRY3F4ONW4N0ToGF9DkGk5OPx7gWdVi6tschLvneL wLmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mPwQpN+Q; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 l15si10841372eji.501.2020.07.14.07.50.57; Tue, 14 Jul 2020 07:50:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-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=mPwQpN+Q; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 S1728418AbgGNOu4 (ORCPT + 10 others); Tue, 14 Jul 2020 10:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbgGNOuy (ORCPT ); Tue, 14 Jul 2020 10:50:54 -0400 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 947BFC061794 for ; Tue, 14 Jul 2020 07:50:54 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id q5so22194932wru.6 for ; Tue, 14 Jul 2020 07:50:54 -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=PyDCzRLu9Rp5ffLvCZoaXuGAE+qn3bcIj12X3rgDaY8=; b=mPwQpN+Qu91QZ2MKryhuGiiJzJqon/gMYBCzo8EhqXVyHMQU0f+SMVudmHG3byrsFK JJYM1icU5EgZZbY6UYqyJwH565d2EsGYC3ePxJSqwzt3Sa2srbEpSqLjlpkYKxWjp1tw ujqOlhVyy3Yhl2YAiVxMF+wEXe1nzyw7RUCYva3xlELef2BJOfsvWrUonzTeAAs2K2cl +OI1ZY/+TGOGmYtPt09UgSnQS0g97Lw8dAr+PkDKclYLsAo6vPt4dQpPqsTDRb+XCLLN +QPntCH68/N596jApxTdK3oGeuqqT+RPWpopbMCXmfq3KHiUYiEjhSsk2tsn5jF4REAr 5jDg== 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=PyDCzRLu9Rp5ffLvCZoaXuGAE+qn3bcIj12X3rgDaY8=; b=QsyEyZr2vkEJeMJvcAKkOkm5xzSxopDZJY5n44Cdi8ng+r9YeGX6mpKxNeR4Ib2k/t t1/jKjUMCtH2LADfypDUyZRkWTU1AlVXZLV3AZxrZKxg9wbtx7jPCLrBHp046UWlDHJf Tjyc2OLEHESUmC8BpL2wt0hLBKP4pRPepWDJPHOg8XnVLDukHwoGyufUmJfB3ABMqECt 99X2RxBzdAPh8OzEnp9CapZeWra88oLGKK8OAM7AFE10Mp2YUrBccmdvOD5jy1Fl4lyp FnFRu80g/bpAvNXm1kXBzF86IbivfwWqmHO3jtUrqA25Xfgd3oJJIEB/WCZmVXVpL8hq 3Plg== X-Gm-Message-State: AOAM533cU6R9ZeZ694YNLh62pLa1PPFjc+5pL09CIHycO5eYNnG7u16s YZRt67hwG5YNPxS6+PlPEVaJ+Vo0sA8= X-Received: by 2002:a5d:4c82:: with SMTP id z2mr5923643wrs.287.1594738253227; Tue, 14 Jul 2020 07:50:53 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id a84sm4653305wmh.47.2020.07.14.07.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 07:50:52 -0700 (PDT) From: Lee Jones To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Lee Jones , Dominik Brodowski Subject: [PATCH 01/13] cpufreq: freq_table: Demote obvious misuse of kerneldoc to standard comment blocks Date: Tue, 14 Jul 2020 15:50:37 +0100 Message-Id: <20200714145049.2496163-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200714145049.2496163-1-lee.jones@linaro.org> References: <20200714145049.2496163-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org No attempt has been made to document any of the demoted functions here. Fixes the following W=1 kernel build warning(s): drivers/cpufreq/freq_table.c:229: warning: Function parameter or member 'policy' not described in 'show_available_freqs' drivers/cpufreq/freq_table.c:229: warning: Function parameter or member 'buf' not described in 'show_available_freqs' drivers/cpufreq/freq_table.c:229: warning: Function parameter or member 'show_boost' not described in 'show_available_freqs' drivers/cpufreq/freq_table.c:269: warning: Function parameter or member 'policy' not described in 'scaling_available_frequencies_show' drivers/cpufreq/freq_table.c:269: warning: Function parameter or member 'buf' not described in 'scaling_available_frequencies_show' drivers/cpufreq/freq_table.c:281: warning: Function parameter or member 'policy' not described in 'scaling_boost_frequencies_show' drivers/cpufreq/freq_table.c:281: warning: Function parameter or member 'buf' not described in 'scaling_boost_frequencies_show' Cc: Dominik Brodowski Signed-off-by: Lee Jones --- drivers/cpufreq/freq_table.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 Acked-by: Viresh Kumar diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c index e117b0059123e..f839dc9852c08 100644 --- a/drivers/cpufreq/freq_table.c +++ b/drivers/cpufreq/freq_table.c @@ -221,7 +221,7 @@ int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy, } EXPORT_SYMBOL_GPL(cpufreq_frequency_table_get_index); -/** +/* * show_available_freqs - show available frequencies for the specified CPU */ static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf, @@ -260,7 +260,7 @@ static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf, struct freq_attr cpufreq_freq_attr_##_name##_freqs = \ __ATTR_RO(_name##_frequencies) -/** +/* * show_scaling_available_frequencies - show available normal frequencies for * the specified CPU */ @@ -272,7 +272,7 @@ static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy, cpufreq_attr_available_freq(scaling_available); EXPORT_SYMBOL_GPL(cpufreq_freq_attr_scaling_available_freqs); -/** +/* * show_available_boost_freqs - show available boost frequencies for * the specified CPU */