On Thu, Aug 06, 2015 at 10:20:13AM +0900, Chaehyun Lim wrote:
> Insert blank line after struct declaration found by checkpatch.pl.
> CHECK: use a blank line after function/struct/union/enum declarations
> 
> Signed-off-by: Chaehyun Lim <chaehyun....@gmail.com>
> ---
>  drivers/staging/most/aim-cdev/cdev.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/staging/most/aim-cdev/cdev.c 
> b/drivers/staging/most/aim-cdev/cdev.c
> index 453fbc6..00a23db 100644
> --- a/drivers/staging/most/aim-cdev/cdev.c
> +++ b/drivers/staging/most/aim-cdev/cdev.c
> @@ -44,6 +44,7 @@ struct aim_channel {
>       atomic_t access_ref;
>       struct list_head list;
>  };
> +
>  #define to_channel(d) container_of(d, struct aim_channel, cdev)

No, the original is correct.

If anything add a blank line after the to_channel() define.

thanks,

greg k-h
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to