Re: [PATCH 3/7] staging: most: cdev.c: Insert blank line after struct declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.lim@xxxxxxxxx>
> ---
>  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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux