Skip to contentSkip to conversation

Staging: Comedi: Drivers: das08: Fixed some coding style issues

PATCH In review [email protected] 2 participants 3 messages Apr 13, 2020 – Apr 16, 2020 1 message not in the archive Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: Comedi: Drivers: das08: Fixed some coding style issues

Fixed a coding style issue caused by some declarations that weren't separated.

---
 drivers/staging/comedi/drivers/das08.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/comedi/drivers/das08.c +2 -0
index 65e5f2e6c122..f884f5841788 100644
@@ -141,7 +141,9 @@ static const struct comedi_lrange *const das08_ai_lranges[] = {
 static const int das08_pgh_ai_gainlist[] = {
 	8, 0, 10, 2, 12, 4, 14, 6, 1, 3, 5, 7
 };
+
 static const int das08_pgl_ai_gainlist[] = { 8, 0, 2, 4, 6, 1, 3, 5, 7 };
+
 static const int das08_pgm_ai_gainlist[] = { 8, 0, 10, 12, 14, 9, 11, 13, 15 };
 
 static const int *const das08_ai_gainlists[] = {
Signature · 1 line
2.26.0
maintainer
#1 lore raw
Quoted 3 lines · On Mon, Apr 13, 2020 at 10:05:55AM +0200, [email protected] wrote:

Fixed a coding style issue caused by some declarations that weren't separated.

Your From: line in your email client does not match with this :(

Quoted 9 lines
---
 drivers/staging/comedi/drivers/das08.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/comedi/drivers/das08.c +0 -0
index 65e5f2e6c122..f884f5841788 100644

drivers/staging/comedi/drivers/das08.c static const struct comedi_lrange *const das08_ai_lranges[] = { · line 147

Quoted 7 lines
drivers/staging/comedi/drivers/das08.c +2 -0
@@ -141,7 +141,9 @@ static const struct comedi_lrange *const das08_ai_lranges[] = {
 static const int das08_pgh_ai_gainlist[] = {
 	8, 0, 10, 2, 12, 4, 14, 6, 1, 3, 5, 7
 };
+
 static const int das08_pgl_ai_gainlist[] = { 8, 0, 2, 4, 6, 1, 3, 5, 7 };
+
 static const int das08_pgm_ai_gainlist[] = { 8, 0, 10, 12, 14, 9, 11, 13, 15 };

What is wrong with the original code? It makes more sense, don't you think?

greg k-h

A message that is not in the archive (sent off-list or not yet received): CAB_Ssx7B13Lm-twHuEOzP4EODQ7kqd5jA0mxZS5SnpqxJ65XBg@mail.gmail.com

maintainer
#3 lore raw

A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

Quoted 1 line · Carlos Guerrero Álvarez

What do you mean with the From line?

Look at the patch you sent, the "From:" line on your email does not have your name, only your email address. Please fix that up when you resend any future patches.

thanks,

greg k-h