Re: [PATCH] staging: most-core: Fix checkpatch warnings

From: Greg KH
Date: Tue Aug 27 2019 - 04:09:42 EST


On Mon, Aug 26, 2019 at 01:58:49AM +0800, Peikan Tsai wrote:
> Hi,
>
> This patch solves the following checkpatch.pl's messages in drivers/staging/most/core.c.
>
> WARNING: line over 80 characters
> + return snprintf(buf, PAGE_SIZE, "%s", ch_data_type[i].name);
>
> CHECK: Please use a blank line after function/struct/union/enum declarations
> +}
> +/**
>
> Signed-off-by: Peikan Tsai <peikantsai@xxxxxxxxx>
> ---
> drivers/staging/most/core.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)

Normally we want only one "type" of cleanup per patch, but this is so
tiny I'll just take it as-is.

thanks,

greg k-h