Staging: Comedi: Drivers: das08: Fixed some coding style issues
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
@@ -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
Greg KH
maintainerQuoted 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.
Signed-off-by Carlos Guerrero Alvarez <[email protected]>
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
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
Greg KH
maintainerA: 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