Skip to contentSkip to conversation

Staging: vt6655: mac: Deleted space

PATCH In review Hatice ERTÜRK 2 participants 2 messages Feb 20, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: vt6655: mac: Deleted space

Deleted spaces before ','.Because it is prohibited. Error found with checkpatch.pl

---
 drivers/staging/vt6655/mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/mac.c +1 -1
index dd241bb..f3c492f 100644
@@ -808,7 +808,7 @@ bool MACbPSWakeup(void __iomem *dwIoBase)
 
 	/* Check if SyncFlushOK */
 	for (ww = 0; ww < W_MAX_TIMEOUT; ww++) {
-		VNSvInPortB(dwIoBase + MAC_REG_PSCTL , &byOrgValue);
+		VNSvInPortB(dwIoBase + MAC_REG_PSCTL, &byOrgValue);
 		if (byOrgValue & PSCTL_WAKEDONE)
 			break;
 	}
Signature · 1 line
1.9.1
#1 lore raw

In the subject line, you should have only: Staging: vt6655:. You can see the most common subject lines for this file using:
git log --oneline drivers/staging/vt6655/mac.c

Quoted 1 line · Hatice ERTÜRK

Deleted spaces before ','.Because it is prohibited.

Because it is pohibited by the kernel coding style.

julia

Quoted 30 lines

Error found with checkpatch.pl

---
 drivers/staging/vt6655/mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/mac.c +1 -1
index dd241bb..f3c492f 100644
@@ -808,7 +808,7 @@ bool MACbPSWakeup(void __iomem *dwIoBase)
 
 	/* Check if SyncFlushOK */
 	for (ww = 0; ww < W_MAX_TIMEOUT; ww++) {
-		VNSvInPortB(dwIoBase + MAC_REG_PSCTL , &byOrgValue);
+		VNSvInPortB(dwIoBase + MAC_REG_PSCTL, &byOrgValue);
 		if (byOrgValue & PSCTL_WAKEDONE)
 			break;
 	}
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/1424459389-5989-1-git-send-email-haticeerturk27%40gmail.com.
For more options, visit https://groups.google.com/d/optout.