diff mbox series

[01/11] thermal: of-thermal: Appease the kernel-doc deity

Message ID ebd5991d5554202893fbcab4707be6d26f502aef.1573046440.git.amit.kucheria@linaro.org
State Superseded
Headers show
Series thermal: clean up output of make W=1 | expand

Commit Message

Amit Kucheria Nov. 6, 2019, 1:28 p.m. UTC
Replace a comment starting with /** by simply /* to avoid having
it interpreted as a kernel-doc comment.

Fixes the following warning when compile with make W=1:
linux.git/drivers/thermal/of-thermal.c:761: warning: cannot understand function prototype: 'const char *trip_types[] = '

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

---
 drivers/thermal/of-thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Viresh Kumar Nov. 7, 2019, 2:15 a.m. UTC | #1
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.

> 

> Fixes the following warning when compile with make W=1:

> linux.git/drivers/thermal/of-thermal.c:761: warning: cannot understand function prototype: 'const char *trip_types[] = '

> 

> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

> ---

>  drivers/thermal/of-thermal.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c

> index dc5093be553ec..5235aed2fadd5 100644

> --- a/drivers/thermal/of-thermal.c

> +++ b/drivers/thermal/of-thermal.c

> @@ -754,7 +754,7 @@ static int thermal_of_populate_bind_params(struct device_node *np,

>  	return ret;

>  }

>  

> -/**

> +/*

>   * It maps 'enum thermal_trip_type' found in include/linux/thermal.h

>   * into the device tree binding of 'trip', property type.

>   */


Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>


-- 
viresh
diff mbox series

Patch

diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c
index dc5093be553ec..5235aed2fadd5 100644
--- a/drivers/thermal/of-thermal.c
+++ b/drivers/thermal/of-thermal.c
@@ -754,7 +754,7 @@  static int thermal_of_populate_bind_params(struct device_node *np,
 	return ret;
 }
 
-/**
+/*
  * It maps 'enum thermal_trip_type' found in include/linux/thermal.h
  * into the device tree binding of 'trip', property type.
  */