Re: [PATCH 2/3] staging: most: core.c: remove semicolon at the end of define statement

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

 



On Mon, 27 Jul 2015 10:31:09 +0900
Chaehyun Lim <chaehyun.lim@xxxxxxxxx> wrote:

> Remove semicolon at the end of define statement to fix checkpatch warning.
> WARNING: macros should not use a trailing semicolon
> 
> Signed-off-by: Chaehyun Lim <chaehyun.lim@xxxxxxxxx>
Acked-by: Christian Gromm <christian.gromm@xxxxxxxxxxxxx>
> ---
>  drivers/staging/most/mostcore/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/most/mostcore/core.c b/drivers/staging/most/mostcore/core.c
> index 192b53d..261cb62 100644
> --- a/drivers/staging/most/mostcore/core.c
> +++ b/drivers/staging/most/mostcore/core.c
> @@ -328,7 +328,7 @@ static ssize_t show_channel_starving(struct most_c_obj *c,
>  
>  
>  #define create_show_channel_attribute(val) \
> -	static MOST_CHNL_ATTR(val, S_IRUGO, show_##val, NULL);
> +	static MOST_CHNL_ATTR(val, S_IRUGO, show_##val, NULL)
>  
>  create_show_channel_attribute(available_directions);
>  create_show_channel_attribute(available_datatypes);

_______________________________________________
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