Skip to contentSkip to conversation

Staging: vt6655: { retrieved upper row

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

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: vt6655: { retrieved upper row

That open brace { should be on the previous line.
This Error found with checkpatch.pl

---
v2:
Retrieved all rows above.

---
 drivers/staging/vt6655/card.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/vt6655/card.c +1 -2
index e77a5f6..ddfa4f5 100644
@@ -68,8 +68,7 @@
 
 /*---------------------  Static Variables  --------------------------*/
 
-static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {
-17, 17, 17, 17, 34, 23, 17, 11, 8, 5, 4, 3};
+static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {17, 17, 17, 17, 34, 23, 17, 11, 8, 5, 4, 3};
 
 /*---------------------  Static Functions  --------------------------*/
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 7 lines · Hatice ERTÜRK

That open brace { should be on the previous line.
This Error found with checkpatch.pl

---
v2:
Retrieved all rows above.

No, this is not going in the right direction. Now the line is too long. I think the code was OK as it is. If the kernel coding conventions require the { to be on the line before, then the first patch was OK.

On the other hand "retrieved" is not the right word. I think you mean "Moved"?

Remember to write subject lines in the imperative, so "Move ...".

julia

Quoted 28 lines
---
 drivers/staging/vt6655/card.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/vt6655/card.c +1 -2
index e77a5f6..ddfa4f5 100644
@@ -68,8 +68,7 @@
 
 /*---------------------  Static Variables  --------------------------*/
 
-static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {
-17, 17, 17, 17, 34, 23, 17, 11, 8, 5, 4, 3};
+static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {17, 17, 17, 17, 34, 23, 17, 11, 8, 5, 4, 3};
 
 /*---------------------  Static Functions  --------------------------*/
 
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/1424554182-23841-1-git-send-email-haticeerturk27%40gmail.com.
For more options, visit https://groups.google.com/d/optout.