Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp353398ybx; Wed, 6 Nov 2019 18:23:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxcRwgB+aBg3oWPjZmXrBRNqnLUeQd8VqwluLwc4BRPAE1o8Oc84PMrzIpcbrdM/xfqUHIQ X-Received: by 2002:a17:906:27c5:: with SMTP id k5mr764833ejc.173.1573093437373; Wed, 06 Nov 2019 18:23:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573093437; cv=none; d=google.com; s=arc-20160816; b=ULkOsICSKoiR8w2NTJLViypp0yILi5REnRtpyRfEvgQdAv2rcZbgU9b80fs14sCoiq aVHJnxTcjrjM9FC2+QFqqPZOjFBuRWGatWK5M6l72PB9aj4oUq65NrOpLikuIntcBP61 ZplY5QMcxmKKMZXkZFCZNqQTA8lFztXIXYgoDnZVI3d3ZiyJCLNrEmEqreFrYaTRwCTP OH0hdjhKY7SEARAH7enMPrOoKqLQQgCGdBRHLMQtYCcdl2wpEbFkjQHkgeS/a2Zf0x7V k8e3Ru2vjT6zY3Bjg3eGTi+qMdppVNJmWCkWHNv2UP8b9hDBFUqsx2VvzWsoGFnQyRKW FCyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=H+QqKLPEQoeG1GGGgw3cHviviQT0DnHW7MBvGPeHz6k=; b=kjlQnA10L286UFaZ8lX+o5/9fYbE9YRTdrIJMXqM9EXkGwK9O1DdwahUD/SZqEtb5C CzP2ZBnjiq0ooMdnCuxN2NkIh3DvzaZh7XJfcOmWCv3FKxMIKPbwgmhWi0b1eJsyJPvp BREpFRggdWTtjOQeMUpXS1y0VujmFE+icWfpiXzPmryn4tZKhXQ8o35eQGbuKtLxDVLs kCUG+KBhXhjFA+37UcAnoyGYruGHdPXXkyv1mt7xfK3tz/O7Z5rNc3qpvtJ0FH0tJ8vo UPJ4PBp3ZPJ0TGgwJJ3MMJlJXJt4ZedbxRM0UAOHUbtOEwAXQWPI4STiZjFdr5KdAZT0 up/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ArKI6Gja; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id t8si393055edc.387.2019.11.06.18.23.33; Wed, 06 Nov 2019 18:23:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ArKI6Gja; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1733007AbfKGCUU (ORCPT + 99 others); Wed, 6 Nov 2019 21:20:20 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:39394 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732865AbfKGCUT (ORCPT ); Wed, 6 Nov 2019 21:20:19 -0500 Received: by mail-pl1-f196.google.com with SMTP id o9so372739plk.6 for ; Wed, 06 Nov 2019 18:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=H+QqKLPEQoeG1GGGgw3cHviviQT0DnHW7MBvGPeHz6k=; b=ArKI6GjaGqnXyXXJugquFesbMPo4+FgiRDM8C38iV5D242vyprAXN+S3nkmPK/OMVm SuIClw+4vYZMtzpL46SY9Q1c3tqqHMt0C8odoR6ghGzVtvoR1QVVjHRYjpR2GFqSu03K RoNm7pOKyX1kbfrT+ftQrMhpwUX2OZgavt9vT/tSLAOtvJJo4zc/k6uuAEQ/gt5nH3zl WaLigY0cKkQ+WUTN3M6i0YtWSKn2GA8f51dMOZawULnuJZ2X6p3irFUE5iLeE5YX4Csr fMucxcs03GCVx4tnBl1cSjKFf0ttE/ivjDB3O9/CHD/VLXG3Mxd7nKFHuRS3J9nizG/X NL8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=H+QqKLPEQoeG1GGGgw3cHviviQT0DnHW7MBvGPeHz6k=; b=OO316MFGDcl/+mEbBn82Ug6kXLG+cKFdz8+2G8ink3uuY5veYiJjY1wN8O2O9LM1dc gW1D+vfRCVMGaMCF5Ny5yad4Wxp84QzMLe915vDZ0kbzeNNx4QCdl7GGLJYcfJyK2eZP uOG8XsewLNvku4/r0T1gjwVo+kiAh3RMy5e1xuRlsJpshPuETz63SDh+zlWyCVUeSjbF zVAIymJ8sGR8EJ+oNzPdxb/mduXYT6QfJF/vKqW2ksULZ1WgNWxHgsx77atzVM/TiEcN luloWbIBWhqtXgKGj0yA2tqa6GNQNMmDAXdg0ZjI3k+e/X8W3Dthg7WGxw/rd4/dxxf8 s+1A== X-Gm-Message-State: APjAAAVvILY8MSoSoWmyTpZ/Oxs0aZ3EHGmgeioPErTIy4ud8x8i12UN 3xBTlYd/6DG3MnY7mGhcouBLgg== X-Received: by 2002:a17:902:8208:: with SMTP id x8mr1033222pln.232.1573093217114; Wed, 06 Nov 2019 18:20:17 -0800 (PST) Received: from localhost ([122.171.110.253]) by smtp.gmail.com with ESMTPSA id j126sm354534pfg.4.2019.11.06.18.20.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Nov 2019 18:20:16 -0800 (PST) Date: Thu, 7 Nov 2019 07:50:12 +0530 From: Viresh Kumar To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Zhang Rui , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 06/11] thermal: mediatek: Appease the kernel-doc deity Message-ID: <20191107022012.o7wfyoerhomc3ztu@vireshk-i7> References: <2961e4ac4b32ea7db8b5f6916751a5c02ee85960.1573046440.git.amit.kucheria@linaro.org> <20191107021929.hsuyzswcl27n7wqt@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191107021929.hsuyzswcl27n7wqt@vireshk-i7> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07-11-19, 07:49, Viresh Kumar wrote: > On 06-11-19, 18:58, Amit Kucheria wrote: > > Replace a comment starting with /** by simply /* to avoid having it > > interpreted as a kernel-doc comment. Describe missing function > > parameters where needed. > > > > Fixes up the following warnings when compiled with make W=1: > > > > linux.git/drivers/thermal/mtk_thermal.c:374: warning: cannot understand > > function prototype: 'const struct mtk_thermal_data mt8173_thermal_data = > > ' > > linux.git/drivers/thermal/mtk_thermal.c:413: warning: cannot understand > > function prototype: 'const struct mtk_thermal_data mt2701_thermal_data = > > ' > > linux.git/drivers/thermal/mtk_thermal.c:443: warning: cannot understand > > function prototype: 'const struct mtk_thermal_data mt2712_thermal_data = > > ' > > linux.git/drivers/thermal/mtk_thermal.c:499: warning: cannot understand > > function prototype: 'const struct mtk_thermal_data mt8183_thermal_data = > > ' > > linux.git/drivers/thermal/mtk_thermal.c:529: warning: Function parameter > > or member 'sensno' not described in 'raw_to_mcelsius' > > > > Signed-off-by: Amit Kucheria > > --- > > drivers/thermal/mtk_thermal.c | 12 ++++++------ > > 1 file changed, 6 insertions(+), 6 deletions(-) > > > > diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_thermal.c > > index acf4854cbb8b8..76e30603d4d58 100644 > > --- a/drivers/thermal/mtk_thermal.c > > +++ b/drivers/thermal/mtk_thermal.c > > @@ -358,7 +358,7 @@ static const int mt7622_mux_values[MT7622_NUM_SENSORS] = { 0, }; > > static const int mt7622_vts_index[MT7622_NUM_SENSORS] = { VTS1 }; > > static const int mt7622_tc_offset[MT7622_NUM_CONTROLLER] = { 0x0, }; > > > > -/** > > +/* > > * The MT8173 thermal controller has four banks. Each bank can read up to > > * four temperature sensors simultaneously. The MT8173 has a total of 5 > > * temperature sensors. We use each bank to measure a certain area of the > > @@ -400,7 +400,7 @@ static const struct mtk_thermal_data mt8173_thermal_data = { > > .sensor_mux_values = mt8173_mux_values, > > }; > > > > -/** > > +/* > > * The MT2701 thermal controller has one bank, which can read up to > > * three temperature sensors simultaneously. The MT2701 has a total of 3 > > * temperature sensors. > > @@ -430,7 +430,7 @@ static const struct mtk_thermal_data mt2701_thermal_data = { > > .sensor_mux_values = mt2701_mux_values, > > }; > > > > -/** > > +/* > > * The MT2712 thermal controller has one bank, which can read up to > > * four temperature sensors simultaneously. The MT2712 has a total of 4 > > * temperature sensors. > > @@ -484,7 +484,7 @@ static const struct mtk_thermal_data mt7622_thermal_data = { > > .sensor_mux_values = mt7622_mux_values, > > }; > > > > -/** > > +/* > > * The MT8183 thermal controller has one bank for the current SW framework. > > * The MT8183 has a total of 6 temperature sensors. > > * There are two thermal controller to control the six sensor. > > @@ -495,7 +495,6 @@ static const struct mtk_thermal_data mt7622_thermal_data = { > > * data, and this indeed needs the temperatures of the individual banks > > * for making better decisions. > > */ > > - > > static const struct mtk_thermal_data mt8183_thermal_data = { > > .auxadc_channel = MT8183_TEMP_AUXADC_CHANNEL, > > .num_banks = MT8183_NUM_SENSORS_PER_ZONE, > > @@ -519,7 +518,8 @@ static const struct mtk_thermal_data mt8183_thermal_data = { > > > > /** > > * raw_to_mcelsius - convert a raw ADC value to mcelsius > > - * @mt: The thermal controller > > + * @mt: The thermal controller > > + * @sensno: sensor number > > * @raw: raw ADC value > > This doesn't look related to $subject I take this statement back :) Reviewed-by: Viresh Kumar -- viresh