Re: [PATCH] Staging : comedi : comedidev.h Fixed warning space coding style issue

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

 



On Mon, Jan 20, 2014 at 12:19:09AM -0800, Surendra Patil wrote:
> Fixed a coding style issue,removed space after the function pointer name
> 
> Signed-off-by: Surendra Patil <surendra.tux@xxxxxxxxx>
> ---
>  drivers/staging/comedi/comedidev.h | 32 ++++++++++++++++----------------
>  1 file changed, 16 insertions(+), 16 deletions(-)
> 
> diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
> index f82bd42..588e9e7 100644
> --- a/drivers/staging/comedi/comedidev.h
> +++ b/drivers/staging/comedi/comedidev.h
> @@ -61,29 +61,29 @@ struct comedi_subdevice {
>  
>  	unsigned int *chanlist;	/* driver-owned chanlist (not used) */
>  
> -	int (*insn_read) (struct comedi_device *, struct comedi_subdevice *,
> +	int (*insn_read)(struct comedi_device *, struct comedi_subdevice *,
>  			  struct comedi_insn *, unsigned int *);

Now the the second line has one extra space.  The 's' characters in
"struct comedi_device *" and "struct comedi_insn *" should be on the
same column.

regards,
dan carpenter

_______________________________________________
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