Skip to contentSkip to conversation

staging: vt6655: mac.h: fix space prohibited before that ','

PATCH In review Mohamed Lotfy Hammad 3 participants 3 messages Jan 19, 2015 – Jan 25, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6655: mac.h: fix space prohibited before that ','

This patch fixes the following checkpatch.pl error:
fix space prohibited before that ','

---
 drivers/staging/vt6655/mac.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/mac.h +1 -1
index e1e7e10..4985c63 100644
@@ -888,7 +888,7 @@ do {									\
 	VNSvOutPortB(dwIoBase + MAC_REG_PAGE1SEL, 1)
 
 #define MACvReadMIBCounter(dwIoBase, pdwCounter)			\
-	VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR , pdwCounter)
+	VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR, pdwCounter)
 
 #define MACvPwrEvntDisable(dwIoBase)					\
 	VNSvOutPortW(dwIoBase + MAC_REG_WAKEUPEN0, 0x0000)
Signature · 1 line
2.1.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Mohamed Lotfy Hammad

This patch fixes the following checkpatch.pl error:
fix space prohibited before that ','

Quoted 24 lines
---
 drivers/staging/vt6655/mac.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/mac.h +1 -1
index e1e7e10..4985c63 100644
@@ -888,7 +888,7 @@ do {									\
 	VNSvOutPortB(dwIoBase + MAC_REG_PAGE1SEL, 1)
 
 #define MACvReadMIBCounter(dwIoBase, pdwCounter)			\
-	VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR , pdwCounter)
+	VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR, pdwCounter)
 
 #define MACvPwrEvntDisable(dwIoBase)					\
 	VNSvOutPortW(dwIoBase + MAC_REG_WAKEUPEN0, 0x0000)
Signature · 6 lines
2.1.0

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
maintainer
#2 lore raw
In reply to Mohamed Lotfy Hammad
Quoted 14 lines · Mohamed Lotfy Hammad

This patch fixes the following checkpatch.pl error:
fix space prohibited before that ','

---
 drivers/staging/vt6655/mac.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/mac.h +0 -0
index e1e7e10..4985c63 100644

drivers/staging/vt6655/mac.h do { \ · line 894

Quoted 8 lines
drivers/staging/vt6655/mac.h +1 -1
@@ -888,7 +888,7 @@ do {									\
 	VNSvOutPortB(dwIoBase + MAC_REG_PAGE1SEL, 1)
 
 #define MACvReadMIBCounter(dwIoBase, pdwCounter)			\
-	VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR , pdwCounter)
+	VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR, pdwCounter)
 
 #define MACvPwrEvntDisable(dwIoBase)					\
 	VNSvOutPortW(dwIoBase + MAC_REG_WAKEUPEN0, 0x0000)

Doesn't apply to my staging-next branch of staging.git :(