Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1212160

Re: [PATCH] staging: fbtft: Removed space before parenthesis

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: fbtft: Removed space before parenthesis
Date 2015-08-24 15:10 +0200
Message-ID <q0ZFD-9c-11@gated-at.bofh.it> (permalink)
References <pZyxR-6Jf-43@gated-at.bofh.it> <pZWAa-7LJ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 21, 2015 at 09:05:47PM +0530, Aparna Karuthodi wrote:
> Removed space before parenthesis in two different lines to remove coding
> style errors detected by checkpatch.
> The errors are given below:
> drivers/staging/fbtft/fbtft-bus.c:73: ERROR: space prohibited before
> that close parenthesis ')'
> drivers/staging/fbtft/fbtft-bus.c:75: ERROR: space prohibited before
> that close parenthesis ')'
> 
> Signed-off-by: Aparna Karuthodi <kdasaparna@gmail.com>
> ---
>  drivers/staging/fbtft/fbtft-bus.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c
> index b3cddb0..791fab3 100644
> --- a/drivers/staging/fbtft/fbtft-bus.c
> +++ b/drivers/staging/fbtft/fbtft-bus.c
> @@ -70,9 +70,9 @@ void func(struct fbtft_par *par, int len, ...)                                \
>  }                                                                             \
>  EXPORT_SYMBOL(func);
>  
> -define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, )
> +define_fbtft_write_reg(fbtft_write_reg8_bus8, u8)
>  define_fbtft_write_reg(fbtft_write_reg16_bus8, u16, cpu_to_be16)
> -define_fbtft_write_reg(fbtft_write_reg16_bus16, u16, )
> +define_fbtft_write_reg(fbtft_write_reg16_bus16, u16)
Did you build test it?
You have removed ',' while removing the space and that breaks the build.

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging: fbtft: Removed a space Aparna Karuthodi <kdasaparna@gmail.com> - 2015-08-20 16:00 +0200
  Re: [PATCH] staging: fbtft: Removed a space Dan Carpenter <dan.carpenter@oracle.com> - 2015-08-21 13:10 +0200
  [PATCH] staging: fbtft: Removed a space Aparna Karuthodi <kdasaparna@gmail.com> - 2015-08-21 14:30 +0200
    Re: [PATCH] staging: fbtft: Removed a space Mike Rapoport <mike.rapoport@gmail.com> - 2015-08-21 14:40 +0200
  [PATCH] staging: fbtft: Removed a space Aparna Karuthodi <kdasaparna@gmail.com> - 2015-08-21 15:10 +0200
    Re: [PATCH] staging: fbtft: Removed a space Mike Rapoport <mike.rapoport@gmail.com> - 2015-08-21 15:30 +0200
    Re: [PATCH] staging: fbtft: Removed a space Greg KH <gregkh@linuxfoundation.org> - 2015-09-03 03:20 +0200
  [PATCH] staging: fbtft: Removed a space Aparna Karuthodi <kdasaparna@gmail.com> - 2015-08-21 15:50 +0200
  [PATCH] staging: fbtft: Removed space before parenthesis Aparna Karuthodi <kdasaparna@gmail.com> - 2015-08-21 17:40 +0200
    Re: [PATCH] staging: fbtft: Removed space before parenthesis Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-08-24 15:10 +0200

csiph-web