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

From: Viresh Kumar
Date: Wed Nov 06 2019 - 21:15:59 EST


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@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

--
viresh