* [PATCH] Staging: emxx_udc: Add space around operator.
@ 2015-10-19 4:57 Navya Sri Nizamkari
2015-10-19 5:24 ` [Outreachy kernel] " Julia Lawall
0 siblings, 1 reply; 2+ messages in thread
From: Navya Sri Nizamkari @ 2015-10-19 4:57 UTC (permalink / raw)
To: outreachy-kernel
This patch fixes the checkpatch.pl warning about
addition of space around the '>>' operator.
Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
---
drivers/staging/emxx_udc/emxx_udc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index 0492747..60604c8 100644
--- a/drivers/staging/emxx_udc/emxx_udc.c
+++ b/drivers/staging/emxx_udc/emxx_udc.c
@@ -211,7 +211,7 @@ static u32 _nbu2ss_get_begin_ram_address(struct nbu2ss_udc *udc)
}
if ((data >> 16) > last_ram_adr)
- last_ram_adr = data>>16;
+ last_ram_adr = data >> 16;
}
return last_ram_adr + use_ram_size;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Outreachy kernel] [PATCH] Staging: emxx_udc: Add space around operator.
2015-10-19 4:57 [PATCH] Staging: emxx_udc: Add space around operator Navya Sri Nizamkari
@ 2015-10-19 5:24 ` Julia Lawall
0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2015-10-19 5:24 UTC (permalink / raw)
To: Navya Sri Nizamkari; +Cc: outreachy-kernel
On Mon, 19 Oct 2015, Navya Sri Nizamkari wrote:
> This patch fixes the checkpatch.pl warning about
> addition of space around the '>>' operator.
Write your commit message in the imperative, focusing on what is done, not
what checkpatch has told you. So it could be "Add a space around >>.
Problem found using checkpatch.*
julia
> Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
> ---
> drivers/staging/emxx_udc/emxx_udc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
> index 0492747..60604c8 100644
> --- a/drivers/staging/emxx_udc/emxx_udc.c
> +++ b/drivers/staging/emxx_udc/emxx_udc.c
> @@ -211,7 +211,7 @@ static u32 _nbu2ss_get_begin_ram_address(struct nbu2ss_udc *udc)
> }
>
> if ((data >> 16) > last_ram_adr)
> - last_ram_adr = data>>16;
> + last_ram_adr = data >> 16;
> }
>
> return last_ram_adr + use_ram_size;
> --
> 1.9.1
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20151019045746.GA4126%40navya.
> For more options, visit https://groups.google.com/d/optout.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-19 5:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-19 4:57 [PATCH] Staging: emxx_udc: Add space around operator Navya Sri Nizamkari
2015-10-19 5:24 ` [Outreachy kernel] " Julia Lawall
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.