Re: [PATCH 16/30] usb: mtu3: mtu3_trace: Function headers are not suitable for kerneldoc

From: Chunfeng Yun
Date: Thu Jul 02 2020 - 21:42:14 EST


On Thu, 2020-07-02 at 15:46 +0100, Lee Jones wrote:
> Fixes the following W=1 kernel build warnings:
>
> drivers/usb/mtu3/mtu3_trace.c:13:6: warning: no previous prototype for âmtu3_dbg_traceâ [-Wmissing-prototypes]
> 13 | void mtu3_dbg_trace(struct device *dev, const char *fmt, ...)
> | ^~~~~~~~~~~~~~
The description doesn't match with the title and code changes

>
> Cc: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>
> Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
> drivers/usb/mtu3/mtu3_trace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/mtu3/mtu3_trace.c b/drivers/usb/mtu3/mtu3_trace.c
> index 4f5e7857ec312..155eae126e5e2 100644
> --- a/drivers/usb/mtu3/mtu3_trace.c
> +++ b/drivers/usb/mtu3/mtu3_trace.c
> @@ -1,5 +1,5 @@
> // SPDX-License-Identifier: GPL-2.0
> -/**
> +/*
> * mtu3_trace.c - trace support
> *
> * Copyright (C) 2019 MediaTek Inc.