Skip to contentSkip to conversation

Staging: emxx_udc: Add space around operator.

PATCH Superseded Navya Sri Nizamkari 2 participants 2 messages Oct 19, 2015 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: emxx_udc: Add space around operator.

This patch fixes the checkpatch.pl warning about
addition of space around the '>>' operator.

---
 drivers/staging/emxx_udc/emxx_udc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/emxx_udc/emxx_udc.c +1 -1
index 0492747..60604c8 100644
@@ -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;
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Navya Sri Nizamkari

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

Quoted 28 lines
---
 drivers/staging/emxx_udc/emxx_udc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/emxx_udc/emxx_udc.c +1 -1
index 0492747..60604c8 100644
@@ -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;
Signature · 8 lines
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 [email protected].
To post to this group, send email to [email protected].
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.