All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: comedi: comedi_fops: Shift assignment operator '=' to previous line
@ 2018-07-14 15:44 Nishad Kamdar
  2018-07-16  9:19 ` Ian Abbott
  0 siblings, 1 reply; 2+ messages in thread
From: Nishad Kamdar @ 2018-07-14 15:44 UTC (permalink / raw)
  To: Ian Abbott, H Hartley Sweeten, Greg Kroah-Hartman; +Cc: devel, linux-kernel

Shift '=' assignment operator to the end of previous
line to conform to preferred kernel style line wrapping.
Issue reported by checkpatch CHECK.

Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
---
 drivers/staging/comedi/comedi_fops.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
index 1f3b1106f478..e18b61cdbdeb 100644
--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -79,8 +79,8 @@ MODULE_PARM_DESC(comedi_default_buf_size_kb,
 		 "default asynchronous buffer size in KiB (default "
 		 __MODULE_STRING(CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB) ")");
 
-unsigned int comedi_default_buf_maxsize_kb
-	= CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB;
+unsigned int comedi_default_buf_maxsize_kb =
+	CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB;
 module_param(comedi_default_buf_maxsize_kb, uint, 0644);
 MODULE_PARM_DESC(comedi_default_buf_maxsize_kb,
 		 "default maximum size of asynchronous buffer in KiB (default "
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: comedi: comedi_fops: Shift assignment operator '=' to previous line
  2018-07-14 15:44 [PATCH] staging: comedi: comedi_fops: Shift assignment operator '=' to previous line Nishad Kamdar
@ 2018-07-16  9:19 ` Ian Abbott
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2018-07-16  9:19 UTC (permalink / raw)
  To: Nishad Kamdar, H Hartley Sweeten, Greg Kroah-Hartman; +Cc: devel, linux-kernel

On 14/07/18 16:44, Nishad Kamdar wrote:
> Shift '=' assignment operator to the end of previous
> line to conform to preferred kernel style line wrapping.
> Issue reported by checkpatch CHECK.
> 
> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
> ---
>   drivers/staging/comedi/comedi_fops.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
> index 1f3b1106f478..e18b61cdbdeb 100644
> --- a/drivers/staging/comedi/comedi_fops.c
> +++ b/drivers/staging/comedi/comedi_fops.c
> @@ -79,8 +79,8 @@ MODULE_PARM_DESC(comedi_default_buf_size_kb,
>   		 "default asynchronous buffer size in KiB (default "
>   		 __MODULE_STRING(CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB) ")");
>   
> -unsigned int comedi_default_buf_maxsize_kb
> -	= CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB;
> +unsigned int comedi_default_buf_maxsize_kb =
> +	CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB;
>   module_param(comedi_default_buf_maxsize_kb, uint, 0644);
>   MODULE_PARM_DESC(comedi_default_buf_maxsize_kb,
>   		 "default maximum size of asynchronous buffer in KiB (default "
> 

That looks fine, thanks!

Reviewed-by: Ian Abbott <abbotti@mev.co.uk>

-- 
-=( Ian Abbott <abbotti@mev.co.uk> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268.  Registered address:    )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-16  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-14 15:44 [PATCH] staging: comedi: comedi_fops: Shift assignment operator '=' to previous line Nishad Kamdar
2018-07-16  9:19 ` Ian Abbott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.