* [PATCH] Staging: ft1000: fixed coding style issues
@ 2013-11-02 20:47 Aldo Iljazi
0 siblings, 0 replies; 7+ messages in thread
From: Aldo Iljazi @ 2013-11-02 20:47 UTC (permalink / raw)
To: marek.belisko; +Cc: gregkh, devel, linux-kernel
Fixed a few coding style issues that checkpatch reported.
Specifically:
1. line over 80 characters issue on the lines 9 and 10.
2. space prohibited before open square bracket '[' issue on the lines
30 to 155.
Signed-off-by: Aldo Iljazi <mail@aldo.io>
---
drivers/staging/ft1000/ft1000-pcmcia/boot.h | 263 ++++++++++++++--------------
1 file changed, 132 insertions(+), 131 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/boot.h b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
index 9dce54e..f384bc2 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/boot.h
+++ b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
@@ -6,11 +6,12 @@
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 of the License, or (at your option) any
-// later version. This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-// more details. You should have received a copy of the GNU General Public
-// License along with this program; if not, write to the
+// later version. This program is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
// Free Software Foundation, Inc., 59 Temple Place -
// Suite 330, Boston, MA 02111-1307, USA.
//---------------------------------------------------------------------------
@@ -27,132 +28,132 @@
#define _BOOTH_
// Official bootloader
-static unsigned char bootimage [] = {
-0x00,0x00,0x01,0x5E,0x00,0x00
-,0x00,0x00,0x00,0x00,0x02,0xD7
-,0x00,0x00,0x01,0x5E,0x46,0xB3
-,0xE6,0x02,0x00,0x98,0xE6,0x8C
-,0x00,0x98,0xFB,0x92,0xFF,0xFF
-,0x98,0xFB,0x94,0xFF,0xFF,0x98
-,0xFB,0x06,0x08,0x00,0x98,0xFB
-,0x96,0x84,0x00,0x98,0xFB,0x08
-,0x1C,0x00,0x98,0xFB,0x51,0x25
-,0x10,0x1C,0x00,0xE6,0x51,0x01
-,0x07,0xFD,0x4C,0xFF,0x20,0xF5
-,0x51,0x02,0x20,0x08,0x00,0x4C
-,0xFF,0x20,0x3C,0x00,0xC0,0x64
-,0x98,0xC0,0x66,0x98,0xC0,0x68
-,0x98,0xC0,0x6A,0x98,0xC0,0x6C
-,0x98,0x90,0x08,0x90,0x09,0x90
-,0x0A,0x90,0x0B,0x90,0x0C,0x90
-,0x0D,0x90,0x0E,0x90,0x0F,0x90
-,0x04,0x90,0x06,0xFB,0x51,0x22
-,0x16,0x08,0x03,0xFB,0x51,0x52
-,0x16,0x08,0x04,0xFB,0x51,0x24
-,0x2B,0x08,0x06,0xFB,0x51,0x54
-,0x2B,0x08,0x07,0xFB,0x51,0x24
-,0x2B,0x08,0x09,0xFB,0x51,0x54
-,0x2B,0x08,0x0A,0xFB,0x51,0x12
-,0x16,0x08,0x0C,0xFB,0x51,0x52
-,0x16,0x08,0x0D,0x78,0x00,0x00
-,0x00,0x16,0x00,0x00,0xEC,0x31
-,0xAE,0x00,0x00,0x81,0x4C,0x0F
-,0xE6,0x43,0xFF,0xEC,0x31,0x4E
-,0x00,0x00,0x91,0xEC,0x31,0xAE
-,0x00,0x00,0x91,0x4C,0x0F,0xE6
-,0x43,0xFF,0xEC,0x31,0x5E,0x00
-,0x00,0xA1,0xEB,0x31,0x08,0x00
-,0x00,0xA6,0xEB,0x31,0x08,0x00
-,0x00,0xAC,0x3C,0x00,0xEB,0x31
-,0x08,0x00,0x00,0xA8,0x76,0xFE
-,0xFE,0x08,0xEB,0x31,0x08,0x20
-,0x00,0x00,0x76,0xFF,0xFF,0x18
-,0xED,0x31,0x08,0x20,0x00,0x00
-,0x26,0x10,0x04,0x10,0xF5,0x3C
-,0x01,0x3C,0x00,0x08,0x01,0x12
-,0x3C,0x11,0x3C,0x00,0x08,0x01
-,0x0B,0x08,0x00,0x6D,0xEC,0x31
-,0xAE,0x20,0x00,0x06,0xED,0x4D
-,0x08,0x00,0x00,0x67,0x80,0x6F
-,0x00,0x01,0x0B,0x6F,0x00,0x02
-,0x2E,0x76,0xEE,0x01,0x48,0x06
-,0x01,0x39,0xED,0x4D,0x18,0x00
-,0x02,0xED,0x4D,0x08,0x00,0x04
-,0x14,0x06,0xA4,0xED,0x31,0x22
-,0x00,0x00,0xAC,0x76,0xEE,0x07
-,0x48,0x6D,0x22,0x01,0x1E,0x08
-,0x01,0x58,0xEB,0x31,0x08,0x00
-,0x00,0xAC,0x06,0xFF,0xBA,0x3C
-,0x00,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x30,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x00
-,0x00,0xA2,0x91,0x00,0x9C,0x3C
-,0x80,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x20,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x20
-,0x00,0x04,0x42,0x10,0x90,0x08
-,0xEC,0x31,0xAE,0x20,0x00,0x06
-,0xA4,0x41,0x08,0x00,0xB6,0xED
-,0x41,0x28,0x7D,0xFF,0xFF,0x22
-,0xB3,0x40,0x98,0x2A,0x32,0xEB
-,0x41,0x28,0xB4,0x43,0xFC,0x05
-,0xFF,0xE6,0xA0,0x31,0x20,0x00
-,0x06,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x20,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x20
-,0x00,0x04,0x42,0x10,0x90,0x08
-,0xEC,0x31,0xAE,0x20,0x00,0x06
-,0xA4,0x41,0x08,0x00,0x68,0xED
-,0x41,0x28,0x7D,0xFF,0xFF,0x22
-,0xB3,0x40,0x98,0x2A,0x32,0xEB
-,0x41,0x28,0xB4,0x43,0xFC,0x05
-,0xFF,0xE6,0x48,0x04,0xEB,0x31
-,0x08,0x20,0x00,0x04,0xEB,0x31
-,0x18,0x20,0x00,0x02,0x3C,0x11
-,0xEB,0x31,0x18,0x20,0x00,0x00
-,0xED,0x31,0x08,0x20,0x00,0x00
-,0x04,0x10,0xF7,0xED,0x31,0x08
-,0x20,0x00,0x02,0x66,0x00,0x6F
-,0x00,0x01,0x16,0x76,0xEE,0x06
-,0x48,0x4A,0x1E,0x48,0x04,0xED
-,0x31,0x08,0x20,0x00,0x04,0xEB
-,0x31,0x08,0x00,0x00,0xA4,0x48
-,0x04,0xED,0x31,0x08,0x20,0x00
-,0x04,0xEB,0x31,0x08,0x00,0x00
-,0xA2,0x48,0x04,0x20,0x20,0x4A
-,0x7C,0x46,0x82,0x50,0x05,0x50
-,0x15,0xB5,0x1E,0x98,0xED,0x31
-,0x08,0x00,0x00,0xA8,0x10,0x47
-,0x3B,0x2C,0x01,0xDB,0x40,0x11
-,0x98,0xC1,0x1E,0x98,0x10,0x07
-,0x30,0xF9,0x40,0x07,0x18,0x98
-,0x2A,0x10,0xEB,0x31,0x08,0x00
-,0x00,0xA8,0xA4,0x1E,0x98,0xBB
-,0x1E,0x98,0x50,0x14,0x50,0x04
-,0x46,0x83,0x48,0x04,0x02,0x01
-,0x00,0x50,0x05,0x50,0x15,0x10
-,0x87,0x3F,0x90,0x2B,0x18,0x01
-,0x00,0xC0,0x31,0x00,0x00,0xAE
-,0xDF,0x41,0x00,0x08,0x00,0x1A
-,0x42,0x11,0x67,0x01,0xDF,0x41
-,0x02,0x08,0x00,0x10,0x42,0x11
-,0x62,0x01,0xB4,0x43,0x4A,0x68
-,0x50,0x14,0x50,0x04,0x24,0x10
-,0x48,0x04,0xF2,0x31,0x00,0x01
-,0x00,0x00,0xAE,0xF6,0x31,0x00
-,0x01,0x00,0x00,0xAE,0x62,0xE4
-,0xE5,0x61,0x04,0x48,0x04,0xE5
-,0x63,0x05,0x48,0x04,0x20,0x20
-,0x00,0x00,0x00,0x00
+static unsigned char bootimage[] = {
+0x00, 0x00, 0x01, 0x5E, 0x00, 0x00
+, 0x00, 0x00, 0x00, 0x00, 0x02, 0xD7
+, 0x00, 0x00, 0x01, 0x5E, 0x46, 0xB3
+, 0xE6, 0x02, 0x00, 0x98, 0xE6, 0x8C
+, 0x00, 0x98, 0xFB, 0x92, 0xFF, 0xFF
+, 0x98, 0xFB, 0x94, 0xFF, 0xFF, 0x98
+, 0xFB, 0x06, 0x08, 0x00, 0x98, 0xFB
+, 0x96, 0x84, 0x00, 0x98, 0xFB, 0x08
+, 0x1C, 0x00, 0x98, 0xFB, 0x51, 0x25
+, 0x10, 0x1C, 0x00, 0xE6, 0x51, 0x01
+, 0x07, 0xFD, 0x4C, 0xFF, 0x20, 0xF5
+, 0x51, 0x02, 0x20, 0x08, 0x00, 0x4C
+, 0xFF, 0x20, 0x3C, 0x00, 0xC0, 0x64
+, 0x98, 0xC0, 0x66, 0x98, 0xC0, 0x68
+, 0x98, 0xC0, 0x6A, 0x98, 0xC0, 0x6C
+, 0x98, 0x90, 0x08, 0x90, 0x09, 0x90
+, 0x0A, 0x90, 0x0B, 0x90, 0x0C, 0x90
+, 0x0D, 0x90, 0x0E, 0x90, 0x0F, 0x90
+, 0x04, 0x90, 0x06, 0xFB, 0x51, 0x22
+, 0x16, 0x08, 0x03, 0xFB, 0x51, 0x52
+, 0x16, 0x08, 0x04, 0xFB, 0x51, 0x24
+, 0x2B, 0x08, 0x06, 0xFB, 0x51, 0x54
+, 0x2B, 0x08, 0x07, 0xFB, 0x51, 0x24
+, 0x2B, 0x08, 0x09, 0xFB, 0x51, 0x54
+, 0x2B, 0x08, 0x0A, 0xFB, 0x51, 0x12
+, 0x16, 0x08, 0x0C, 0xFB, 0x51, 0x52
+, 0x16, 0x08, 0x0D, 0x78, 0x00, 0x00
+, 0x00, 0x16, 0x00, 0x00, 0xEC, 0x31
+, 0xAE, 0x00, 0x00, 0x81, 0x4C, 0x0F
+, 0xE6, 0x43, 0xFF, 0xEC, 0x31, 0x4E
+, 0x00, 0x00, 0x91, 0xEC, 0x31, 0xAE
+, 0x00, 0x00, 0x91, 0x4C, 0x0F, 0xE6
+, 0x43, 0xFF, 0xEC, 0x31, 0x5E, 0x00
+, 0x00, 0xA1, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xA6, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xAC, 0x3C, 0x00, 0xEB, 0x31
+, 0x08, 0x00, 0x00, 0xA8, 0x76, 0xFE
+, 0xFE, 0x08, 0xEB, 0x31, 0x08, 0x20
+, 0x00, 0x00, 0x76, 0xFF, 0xFF, 0x18
+, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
+, 0x26, 0x10, 0x04, 0x10, 0xF5, 0x3C
+, 0x01, 0x3C, 0x00, 0x08, 0x01, 0x12
+, 0x3C, 0x11, 0x3C, 0x00, 0x08, 0x01
+, 0x0B, 0x08, 0x00, 0x6D, 0xEC, 0x31
+, 0xAE, 0x20, 0x00, 0x06, 0xED, 0x4D
+, 0x08, 0x00, 0x00, 0x67, 0x80, 0x6F
+, 0x00, 0x01, 0x0B, 0x6F, 0x00, 0x02
+, 0x2E, 0x76, 0xEE, 0x01, 0x48, 0x06
+, 0x01, 0x39, 0xED, 0x4D, 0x18, 0x00
+, 0x02, 0xED, 0x4D, 0x08, 0x00, 0x04
+, 0x14, 0x06, 0xA4, 0xED, 0x31, 0x22
+, 0x00, 0x00, 0xAC, 0x76, 0xEE, 0x07
+, 0x48, 0x6D, 0x22, 0x01, 0x1E, 0x08
+, 0x01, 0x58, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xAC, 0x06, 0xFF, 0xBA, 0x3C
+, 0x00, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x30, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x00
+, 0x00, 0xA2, 0x91, 0x00, 0x9C, 0x3C
+, 0x80, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
+, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
+, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
+, 0xA4, 0x41, 0x08, 0x00, 0xB6, 0xED
+, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
+, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
+, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
+, 0xFF, 0xE6, 0xA0, 0x31, 0x20, 0x00
+, 0x06, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
+, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
+, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
+, 0xA4, 0x41, 0x08, 0x00, 0x68, 0xED
+, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
+, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
+, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
+, 0xFF, 0xE6, 0x48, 0x04, 0xEB, 0x31
+, 0x08, 0x20, 0x00, 0x04, 0xEB, 0x31
+, 0x18, 0x20, 0x00, 0x02, 0x3C, 0x11
+, 0xEB, 0x31, 0x18, 0x20, 0x00, 0x00
+, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
+, 0x04, 0x10, 0xF7, 0xED, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x66, 0x00, 0x6F
+, 0x00, 0x01, 0x16, 0x76, 0xEE, 0x06
+, 0x48, 0x4A, 0x1E, 0x48, 0x04, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x04, 0xEB
+, 0x31, 0x08, 0x00, 0x00, 0xA4, 0x48
+, 0x04, 0xED, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0xEB, 0x31, 0x08, 0x00, 0x00
+, 0xA2, 0x48, 0x04, 0x20, 0x20, 0x4A
+, 0x7C, 0x46, 0x82, 0x50, 0x05, 0x50
+, 0x15, 0xB5, 0x1E, 0x98, 0xED, 0x31
+, 0x08, 0x00, 0x00, 0xA8, 0x10, 0x47
+, 0x3B, 0x2C, 0x01, 0xDB, 0x40, 0x11
+, 0x98, 0xC1, 0x1E, 0x98, 0x10, 0x07
+, 0x30, 0xF9, 0x40, 0x07, 0x18, 0x98
+, 0x2A, 0x10, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xA8, 0xA4, 0x1E, 0x98, 0xBB
+, 0x1E, 0x98, 0x50, 0x14, 0x50, 0x04
+, 0x46, 0x83, 0x48, 0x04, 0x02, 0x01
+, 0x00, 0x50, 0x05, 0x50, 0x15, 0x10
+, 0x87, 0x3F, 0x90, 0x2B, 0x18, 0x01
+, 0x00, 0xC0, 0x31, 0x00, 0x00, 0xAE
+, 0xDF, 0x41, 0x00, 0x08, 0x00, 0x1A
+, 0x42, 0x11, 0x67, 0x01, 0xDF, 0x41
+, 0x02, 0x08, 0x00, 0x10, 0x42, 0x11
+, 0x62, 0x01, 0xB4, 0x43, 0x4A, 0x68
+, 0x50, 0x14, 0x50, 0x04, 0x24, 0x10
+, 0x48, 0x04, 0xF2, 0x31, 0x00, 0x01
+, 0x00, 0x00, 0xAE, 0xF6, 0x31, 0x00
+, 0x01, 0x00, 0x00, 0xAE, 0x62, 0xE4
+, 0xE5, 0x61, 0x04, 0x48, 0x04, 0xE5
+, 0x63, 0x05, 0x48, 0x04, 0x20, 0x20
+, 0x00, 0x00, 0x00, 0x00
};
#endif
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] Staging: ft1000: fixed coding style issues
@ 2013-11-02 20:55 Aldo Iljazi
0 siblings, 0 replies; 7+ messages in thread
From: Aldo Iljazi @ 2013-11-02 20:55 UTC (permalink / raw)
To: marek.belisko; +Cc: gregkh, devel, linux-kernel
Fixed a few coding style issues that checkpatch reported.
Specifically:
1. line over 80 characters issue on the lines 9 and 10.
2. space prohibited before open square bracket '[' issue on the lines
31.
3. iserted space after comma on lines to 156
Signed-off-by: Aldo Iljazi <mail@aldo.io>
---
drivers/staging/ft1000/ft1000-pcmcia/boot.h | 263 ++++++++++++++--------------
1 file changed, 132 insertions(+), 131 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/boot.h b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
index 9dce54e..f384bc2 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/boot.h
+++ b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
@@ -6,11 +6,12 @@
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 of the License, or (at your option) any
-// later version. This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-// more details. You should have received a copy of the GNU General Public
-// License along with this program; if not, write to the
+// later version. This program is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
// Free Software Foundation, Inc., 59 Temple Place -
// Suite 330, Boston, MA 02111-1307, USA.
//---------------------------------------------------------------------------
@@ -27,132 +28,132 @@
#define _BOOTH_
// Official bootloader
-static unsigned char bootimage [] = {
-0x00,0x00,0x01,0x5E,0x00,0x00
-,0x00,0x00,0x00,0x00,0x02,0xD7
-,0x00,0x00,0x01,0x5E,0x46,0xB3
-,0xE6,0x02,0x00,0x98,0xE6,0x8C
-,0x00,0x98,0xFB,0x92,0xFF,0xFF
-,0x98,0xFB,0x94,0xFF,0xFF,0x98
-,0xFB,0x06,0x08,0x00,0x98,0xFB
-,0x96,0x84,0x00,0x98,0xFB,0x08
-,0x1C,0x00,0x98,0xFB,0x51,0x25
-,0x10,0x1C,0x00,0xE6,0x51,0x01
-,0x07,0xFD,0x4C,0xFF,0x20,0xF5
-,0x51,0x02,0x20,0x08,0x00,0x4C
-,0xFF,0x20,0x3C,0x00,0xC0,0x64
-,0x98,0xC0,0x66,0x98,0xC0,0x68
-,0x98,0xC0,0x6A,0x98,0xC0,0x6C
-,0x98,0x90,0x08,0x90,0x09,0x90
-,0x0A,0x90,0x0B,0x90,0x0C,0x90
-,0x0D,0x90,0x0E,0x90,0x0F,0x90
-,0x04,0x90,0x06,0xFB,0x51,0x22
-,0x16,0x08,0x03,0xFB,0x51,0x52
-,0x16,0x08,0x04,0xFB,0x51,0x24
-,0x2B,0x08,0x06,0xFB,0x51,0x54
-,0x2B,0x08,0x07,0xFB,0x51,0x24
-,0x2B,0x08,0x09,0xFB,0x51,0x54
-,0x2B,0x08,0x0A,0xFB,0x51,0x12
-,0x16,0x08,0x0C,0xFB,0x51,0x52
-,0x16,0x08,0x0D,0x78,0x00,0x00
-,0x00,0x16,0x00,0x00,0xEC,0x31
-,0xAE,0x00,0x00,0x81,0x4C,0x0F
-,0xE6,0x43,0xFF,0xEC,0x31,0x4E
-,0x00,0x00,0x91,0xEC,0x31,0xAE
-,0x00,0x00,0x91,0x4C,0x0F,0xE6
-,0x43,0xFF,0xEC,0x31,0x5E,0x00
-,0x00,0xA1,0xEB,0x31,0x08,0x00
-,0x00,0xA6,0xEB,0x31,0x08,0x00
-,0x00,0xAC,0x3C,0x00,0xEB,0x31
-,0x08,0x00,0x00,0xA8,0x76,0xFE
-,0xFE,0x08,0xEB,0x31,0x08,0x20
-,0x00,0x00,0x76,0xFF,0xFF,0x18
-,0xED,0x31,0x08,0x20,0x00,0x00
-,0x26,0x10,0x04,0x10,0xF5,0x3C
-,0x01,0x3C,0x00,0x08,0x01,0x12
-,0x3C,0x11,0x3C,0x00,0x08,0x01
-,0x0B,0x08,0x00,0x6D,0xEC,0x31
-,0xAE,0x20,0x00,0x06,0xED,0x4D
-,0x08,0x00,0x00,0x67,0x80,0x6F
-,0x00,0x01,0x0B,0x6F,0x00,0x02
-,0x2E,0x76,0xEE,0x01,0x48,0x06
-,0x01,0x39,0xED,0x4D,0x18,0x00
-,0x02,0xED,0x4D,0x08,0x00,0x04
-,0x14,0x06,0xA4,0xED,0x31,0x22
-,0x00,0x00,0xAC,0x76,0xEE,0x07
-,0x48,0x6D,0x22,0x01,0x1E,0x08
-,0x01,0x58,0xEB,0x31,0x08,0x00
-,0x00,0xAC,0x06,0xFF,0xBA,0x3C
-,0x00,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x30,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x00
-,0x00,0xA2,0x91,0x00,0x9C,0x3C
-,0x80,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x20,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x20
-,0x00,0x04,0x42,0x10,0x90,0x08
-,0xEC,0x31,0xAE,0x20,0x00,0x06
-,0xA4,0x41,0x08,0x00,0xB6,0xED
-,0x41,0x28,0x7D,0xFF,0xFF,0x22
-,0xB3,0x40,0x98,0x2A,0x32,0xEB
-,0x41,0x28,0xB4,0x43,0xFC,0x05
-,0xFF,0xE6,0xA0,0x31,0x20,0x00
-,0x06,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x20,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x20
-,0x00,0x04,0x42,0x10,0x90,0x08
-,0xEC,0x31,0xAE,0x20,0x00,0x06
-,0xA4,0x41,0x08,0x00,0x68,0xED
-,0x41,0x28,0x7D,0xFF,0xFF,0x22
-,0xB3,0x40,0x98,0x2A,0x32,0xEB
-,0x41,0x28,0xB4,0x43,0xFC,0x05
-,0xFF,0xE6,0x48,0x04,0xEB,0x31
-,0x08,0x20,0x00,0x04,0xEB,0x31
-,0x18,0x20,0x00,0x02,0x3C,0x11
-,0xEB,0x31,0x18,0x20,0x00,0x00
-,0xED,0x31,0x08,0x20,0x00,0x00
-,0x04,0x10,0xF7,0xED,0x31,0x08
-,0x20,0x00,0x02,0x66,0x00,0x6F
-,0x00,0x01,0x16,0x76,0xEE,0x06
-,0x48,0x4A,0x1E,0x48,0x04,0xED
-,0x31,0x08,0x20,0x00,0x04,0xEB
-,0x31,0x08,0x00,0x00,0xA4,0x48
-,0x04,0xED,0x31,0x08,0x20,0x00
-,0x04,0xEB,0x31,0x08,0x00,0x00
-,0xA2,0x48,0x04,0x20,0x20,0x4A
-,0x7C,0x46,0x82,0x50,0x05,0x50
-,0x15,0xB5,0x1E,0x98,0xED,0x31
-,0x08,0x00,0x00,0xA8,0x10,0x47
-,0x3B,0x2C,0x01,0xDB,0x40,0x11
-,0x98,0xC1,0x1E,0x98,0x10,0x07
-,0x30,0xF9,0x40,0x07,0x18,0x98
-,0x2A,0x10,0xEB,0x31,0x08,0x00
-,0x00,0xA8,0xA4,0x1E,0x98,0xBB
-,0x1E,0x98,0x50,0x14,0x50,0x04
-,0x46,0x83,0x48,0x04,0x02,0x01
-,0x00,0x50,0x05,0x50,0x15,0x10
-,0x87,0x3F,0x90,0x2B,0x18,0x01
-,0x00,0xC0,0x31,0x00,0x00,0xAE
-,0xDF,0x41,0x00,0x08,0x00,0x1A
-,0x42,0x11,0x67,0x01,0xDF,0x41
-,0x02,0x08,0x00,0x10,0x42,0x11
-,0x62,0x01,0xB4,0x43,0x4A,0x68
-,0x50,0x14,0x50,0x04,0x24,0x10
-,0x48,0x04,0xF2,0x31,0x00,0x01
-,0x00,0x00,0xAE,0xF6,0x31,0x00
-,0x01,0x00,0x00,0xAE,0x62,0xE4
-,0xE5,0x61,0x04,0x48,0x04,0xE5
-,0x63,0x05,0x48,0x04,0x20,0x20
-,0x00,0x00,0x00,0x00
+static unsigned char bootimage[] = {
+0x00, 0x00, 0x01, 0x5E, 0x00, 0x00
+, 0x00, 0x00, 0x00, 0x00, 0x02, 0xD7
+, 0x00, 0x00, 0x01, 0x5E, 0x46, 0xB3
+, 0xE6, 0x02, 0x00, 0x98, 0xE6, 0x8C
+, 0x00, 0x98, 0xFB, 0x92, 0xFF, 0xFF
+, 0x98, 0xFB, 0x94, 0xFF, 0xFF, 0x98
+, 0xFB, 0x06, 0x08, 0x00, 0x98, 0xFB
+, 0x96, 0x84, 0x00, 0x98, 0xFB, 0x08
+, 0x1C, 0x00, 0x98, 0xFB, 0x51, 0x25
+, 0x10, 0x1C, 0x00, 0xE6, 0x51, 0x01
+, 0x07, 0xFD, 0x4C, 0xFF, 0x20, 0xF5
+, 0x51, 0x02, 0x20, 0x08, 0x00, 0x4C
+, 0xFF, 0x20, 0x3C, 0x00, 0xC0, 0x64
+, 0x98, 0xC0, 0x66, 0x98, 0xC0, 0x68
+, 0x98, 0xC0, 0x6A, 0x98, 0xC0, 0x6C
+, 0x98, 0x90, 0x08, 0x90, 0x09, 0x90
+, 0x0A, 0x90, 0x0B, 0x90, 0x0C, 0x90
+, 0x0D, 0x90, 0x0E, 0x90, 0x0F, 0x90
+, 0x04, 0x90, 0x06, 0xFB, 0x51, 0x22
+, 0x16, 0x08, 0x03, 0xFB, 0x51, 0x52
+, 0x16, 0x08, 0x04, 0xFB, 0x51, 0x24
+, 0x2B, 0x08, 0x06, 0xFB, 0x51, 0x54
+, 0x2B, 0x08, 0x07, 0xFB, 0x51, 0x24
+, 0x2B, 0x08, 0x09, 0xFB, 0x51, 0x54
+, 0x2B, 0x08, 0x0A, 0xFB, 0x51, 0x12
+, 0x16, 0x08, 0x0C, 0xFB, 0x51, 0x52
+, 0x16, 0x08, 0x0D, 0x78, 0x00, 0x00
+, 0x00, 0x16, 0x00, 0x00, 0xEC, 0x31
+, 0xAE, 0x00, 0x00, 0x81, 0x4C, 0x0F
+, 0xE6, 0x43, 0xFF, 0xEC, 0x31, 0x4E
+, 0x00, 0x00, 0x91, 0xEC, 0x31, 0xAE
+, 0x00, 0x00, 0x91, 0x4C, 0x0F, 0xE6
+, 0x43, 0xFF, 0xEC, 0x31, 0x5E, 0x00
+, 0x00, 0xA1, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xA6, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xAC, 0x3C, 0x00, 0xEB, 0x31
+, 0x08, 0x00, 0x00, 0xA8, 0x76, 0xFE
+, 0xFE, 0x08, 0xEB, 0x31, 0x08, 0x20
+, 0x00, 0x00, 0x76, 0xFF, 0xFF, 0x18
+, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
+, 0x26, 0x10, 0x04, 0x10, 0xF5, 0x3C
+, 0x01, 0x3C, 0x00, 0x08, 0x01, 0x12
+, 0x3C, 0x11, 0x3C, 0x00, 0x08, 0x01
+, 0x0B, 0x08, 0x00, 0x6D, 0xEC, 0x31
+, 0xAE, 0x20, 0x00, 0x06, 0xED, 0x4D
+, 0x08, 0x00, 0x00, 0x67, 0x80, 0x6F
+, 0x00, 0x01, 0x0B, 0x6F, 0x00, 0x02
+, 0x2E, 0x76, 0xEE, 0x01, 0x48, 0x06
+, 0x01, 0x39, 0xED, 0x4D, 0x18, 0x00
+, 0x02, 0xED, 0x4D, 0x08, 0x00, 0x04
+, 0x14, 0x06, 0xA4, 0xED, 0x31, 0x22
+, 0x00, 0x00, 0xAC, 0x76, 0xEE, 0x07
+, 0x48, 0x6D, 0x22, 0x01, 0x1E, 0x08
+, 0x01, 0x58, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xAC, 0x06, 0xFF, 0xBA, 0x3C
+, 0x00, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x30, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x00
+, 0x00, 0xA2, 0x91, 0x00, 0x9C, 0x3C
+, 0x80, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
+, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
+, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
+, 0xA4, 0x41, 0x08, 0x00, 0xB6, 0xED
+, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
+, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
+, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
+, 0xFF, 0xE6, 0xA0, 0x31, 0x20, 0x00
+, 0x06, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
+, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
+, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
+, 0xA4, 0x41, 0x08, 0x00, 0x68, 0xED
+, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
+, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
+, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
+, 0xFF, 0xE6, 0x48, 0x04, 0xEB, 0x31
+, 0x08, 0x20, 0x00, 0x04, 0xEB, 0x31
+, 0x18, 0x20, 0x00, 0x02, 0x3C, 0x11
+, 0xEB, 0x31, 0x18, 0x20, 0x00, 0x00
+, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
+, 0x04, 0x10, 0xF7, 0xED, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x66, 0x00, 0x6F
+, 0x00, 0x01, 0x16, 0x76, 0xEE, 0x06
+, 0x48, 0x4A, 0x1E, 0x48, 0x04, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x04, 0xEB
+, 0x31, 0x08, 0x00, 0x00, 0xA4, 0x48
+, 0x04, 0xED, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0xEB, 0x31, 0x08, 0x00, 0x00
+, 0xA2, 0x48, 0x04, 0x20, 0x20, 0x4A
+, 0x7C, 0x46, 0x82, 0x50, 0x05, 0x50
+, 0x15, 0xB5, 0x1E, 0x98, 0xED, 0x31
+, 0x08, 0x00, 0x00, 0xA8, 0x10, 0x47
+, 0x3B, 0x2C, 0x01, 0xDB, 0x40, 0x11
+, 0x98, 0xC1, 0x1E, 0x98, 0x10, 0x07
+, 0x30, 0xF9, 0x40, 0x07, 0x18, 0x98
+, 0x2A, 0x10, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xA8, 0xA4, 0x1E, 0x98, 0xBB
+, 0x1E, 0x98, 0x50, 0x14, 0x50, 0x04
+, 0x46, 0x83, 0x48, 0x04, 0x02, 0x01
+, 0x00, 0x50, 0x05, 0x50, 0x15, 0x10
+, 0x87, 0x3F, 0x90, 0x2B, 0x18, 0x01
+, 0x00, 0xC0, 0x31, 0x00, 0x00, 0xAE
+, 0xDF, 0x41, 0x00, 0x08, 0x00, 0x1A
+, 0x42, 0x11, 0x67, 0x01, 0xDF, 0x41
+, 0x02, 0x08, 0x00, 0x10, 0x42, 0x11
+, 0x62, 0x01, 0xB4, 0x43, 0x4A, 0x68
+, 0x50, 0x14, 0x50, 0x04, 0x24, 0x10
+, 0x48, 0x04, 0xF2, 0x31, 0x00, 0x01
+, 0x00, 0x00, 0xAE, 0xF6, 0x31, 0x00
+, 0x01, 0x00, 0x00, 0xAE, 0x62, 0xE4
+, 0xE5, 0x61, 0x04, 0x48, 0x04, 0xE5
+, 0x63, 0x05, 0x48, 0x04, 0x20, 0x20
+, 0x00, 0x00, 0x00, 0x00
};
#endif
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] Staging: ft1000: fixed coding style issues
@ 2013-11-02 21:03 Aldo Iljazi
2013-11-02 21:18 ` Aldo Iljazi
0 siblings, 1 reply; 7+ messages in thread
From: Aldo Iljazi @ 2013-11-02 21:03 UTC (permalink / raw)
To: marek.belisko; +Cc: gregkh, devel, linux-kernel
Fixed a few coding style issues that checkpatch reported.
Specifically:
1. line over 80 characters issue on the lines 9 and 10.
2. space prohibited before open square bracket '[' issue on the lines
31.
3. inserted space after comma on lines 32 to 156.
Signed-off-by: Aldo Iljazi <mail@aldo.io>
---
drivers/staging/ft1000/ft1000-pcmcia/boot.h | 263 ++++++++++++++--------------
1 file changed, 132 insertions(+), 131 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/boot.h b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
index 9dce54e..f384bc2 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/boot.h
+++ b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
@@ -6,11 +6,12 @@
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 of the License, or (at your option) any
-// later version. This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-// more details. You should have received a copy of the GNU General Public
-// License along with this program; if not, write to the
+// later version. This program is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
// Free Software Foundation, Inc., 59 Temple Place -
// Suite 330, Boston, MA 02111-1307, USA.
//---------------------------------------------------------------------------
@@ -27,132 +28,132 @@
#define _BOOTH_
// Official bootloader
-static unsigned char bootimage [] = {
-0x00,0x00,0x01,0x5E,0x00,0x00
-,0x00,0x00,0x00,0x00,0x02,0xD7
-,0x00,0x00,0x01,0x5E,0x46,0xB3
-,0xE6,0x02,0x00,0x98,0xE6,0x8C
-,0x00,0x98,0xFB,0x92,0xFF,0xFF
-,0x98,0xFB,0x94,0xFF,0xFF,0x98
-,0xFB,0x06,0x08,0x00,0x98,0xFB
-,0x96,0x84,0x00,0x98,0xFB,0x08
-,0x1C,0x00,0x98,0xFB,0x51,0x25
-,0x10,0x1C,0x00,0xE6,0x51,0x01
-,0x07,0xFD,0x4C,0xFF,0x20,0xF5
-,0x51,0x02,0x20,0x08,0x00,0x4C
-,0xFF,0x20,0x3C,0x00,0xC0,0x64
-,0x98,0xC0,0x66,0x98,0xC0,0x68
-,0x98,0xC0,0x6A,0x98,0xC0,0x6C
-,0x98,0x90,0x08,0x90,0x09,0x90
-,0x0A,0x90,0x0B,0x90,0x0C,0x90
-,0x0D,0x90,0x0E,0x90,0x0F,0x90
-,0x04,0x90,0x06,0xFB,0x51,0x22
-,0x16,0x08,0x03,0xFB,0x51,0x52
-,0x16,0x08,0x04,0xFB,0x51,0x24
-,0x2B,0x08,0x06,0xFB,0x51,0x54
-,0x2B,0x08,0x07,0xFB,0x51,0x24
-,0x2B,0x08,0x09,0xFB,0x51,0x54
-,0x2B,0x08,0x0A,0xFB,0x51,0x12
-,0x16,0x08,0x0C,0xFB,0x51,0x52
-,0x16,0x08,0x0D,0x78,0x00,0x00
-,0x00,0x16,0x00,0x00,0xEC,0x31
-,0xAE,0x00,0x00,0x81,0x4C,0x0F
-,0xE6,0x43,0xFF,0xEC,0x31,0x4E
-,0x00,0x00,0x91,0xEC,0x31,0xAE
-,0x00,0x00,0x91,0x4C,0x0F,0xE6
-,0x43,0xFF,0xEC,0x31,0x5E,0x00
-,0x00,0xA1,0xEB,0x31,0x08,0x00
-,0x00,0xA6,0xEB,0x31,0x08,0x00
-,0x00,0xAC,0x3C,0x00,0xEB,0x31
-,0x08,0x00,0x00,0xA8,0x76,0xFE
-,0xFE,0x08,0xEB,0x31,0x08,0x20
-,0x00,0x00,0x76,0xFF,0xFF,0x18
-,0xED,0x31,0x08,0x20,0x00,0x00
-,0x26,0x10,0x04,0x10,0xF5,0x3C
-,0x01,0x3C,0x00,0x08,0x01,0x12
-,0x3C,0x11,0x3C,0x00,0x08,0x01
-,0x0B,0x08,0x00,0x6D,0xEC,0x31
-,0xAE,0x20,0x00,0x06,0xED,0x4D
-,0x08,0x00,0x00,0x67,0x80,0x6F
-,0x00,0x01,0x0B,0x6F,0x00,0x02
-,0x2E,0x76,0xEE,0x01,0x48,0x06
-,0x01,0x39,0xED,0x4D,0x18,0x00
-,0x02,0xED,0x4D,0x08,0x00,0x04
-,0x14,0x06,0xA4,0xED,0x31,0x22
-,0x00,0x00,0xAC,0x76,0xEE,0x07
-,0x48,0x6D,0x22,0x01,0x1E,0x08
-,0x01,0x58,0xEB,0x31,0x08,0x00
-,0x00,0xAC,0x06,0xFF,0xBA,0x3C
-,0x00,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x30,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x00
-,0x00,0xA2,0x91,0x00,0x9C,0x3C
-,0x80,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x20,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x20
-,0x00,0x04,0x42,0x10,0x90,0x08
-,0xEC,0x31,0xAE,0x20,0x00,0x06
-,0xA4,0x41,0x08,0x00,0xB6,0xED
-,0x41,0x28,0x7D,0xFF,0xFF,0x22
-,0xB3,0x40,0x98,0x2A,0x32,0xEB
-,0x41,0x28,0xB4,0x43,0xFC,0x05
-,0xFF,0xE6,0xA0,0x31,0x20,0x00
-,0x06,0xEB,0x31,0x08,0x20,0x00
-,0x04,0x3C,0x20,0xEB,0x31,0x08
-,0x20,0x00,0x02,0x3C,0x10,0xEB
-,0x31,0x08,0x20,0x00,0x00,0xED
-,0x31,0x08,0x20,0x00,0x00,0x04
-,0x10,0xF7,0xED,0x31,0x08,0x20
-,0x00,0x04,0x42,0x10,0x90,0x08
-,0xEC,0x31,0xAE,0x20,0x00,0x06
-,0xA4,0x41,0x08,0x00,0x68,0xED
-,0x41,0x28,0x7D,0xFF,0xFF,0x22
-,0xB3,0x40,0x98,0x2A,0x32,0xEB
-,0x41,0x28,0xB4,0x43,0xFC,0x05
-,0xFF,0xE6,0x48,0x04,0xEB,0x31
-,0x08,0x20,0x00,0x04,0xEB,0x31
-,0x18,0x20,0x00,0x02,0x3C,0x11
-,0xEB,0x31,0x18,0x20,0x00,0x00
-,0xED,0x31,0x08,0x20,0x00,0x00
-,0x04,0x10,0xF7,0xED,0x31,0x08
-,0x20,0x00,0x02,0x66,0x00,0x6F
-,0x00,0x01,0x16,0x76,0xEE,0x06
-,0x48,0x4A,0x1E,0x48,0x04,0xED
-,0x31,0x08,0x20,0x00,0x04,0xEB
-,0x31,0x08,0x00,0x00,0xA4,0x48
-,0x04,0xED,0x31,0x08,0x20,0x00
-,0x04,0xEB,0x31,0x08,0x00,0x00
-,0xA2,0x48,0x04,0x20,0x20,0x4A
-,0x7C,0x46,0x82,0x50,0x05,0x50
-,0x15,0xB5,0x1E,0x98,0xED,0x31
-,0x08,0x00,0x00,0xA8,0x10,0x47
-,0x3B,0x2C,0x01,0xDB,0x40,0x11
-,0x98,0xC1,0x1E,0x98,0x10,0x07
-,0x30,0xF9,0x40,0x07,0x18,0x98
-,0x2A,0x10,0xEB,0x31,0x08,0x00
-,0x00,0xA8,0xA4,0x1E,0x98,0xBB
-,0x1E,0x98,0x50,0x14,0x50,0x04
-,0x46,0x83,0x48,0x04,0x02,0x01
-,0x00,0x50,0x05,0x50,0x15,0x10
-,0x87,0x3F,0x90,0x2B,0x18,0x01
-,0x00,0xC0,0x31,0x00,0x00,0xAE
-,0xDF,0x41,0x00,0x08,0x00,0x1A
-,0x42,0x11,0x67,0x01,0xDF,0x41
-,0x02,0x08,0x00,0x10,0x42,0x11
-,0x62,0x01,0xB4,0x43,0x4A,0x68
-,0x50,0x14,0x50,0x04,0x24,0x10
-,0x48,0x04,0xF2,0x31,0x00,0x01
-,0x00,0x00,0xAE,0xF6,0x31,0x00
-,0x01,0x00,0x00,0xAE,0x62,0xE4
-,0xE5,0x61,0x04,0x48,0x04,0xE5
-,0x63,0x05,0x48,0x04,0x20,0x20
-,0x00,0x00,0x00,0x00
+static unsigned char bootimage[] = {
+0x00, 0x00, 0x01, 0x5E, 0x00, 0x00
+, 0x00, 0x00, 0x00, 0x00, 0x02, 0xD7
+, 0x00, 0x00, 0x01, 0x5E, 0x46, 0xB3
+, 0xE6, 0x02, 0x00, 0x98, 0xE6, 0x8C
+, 0x00, 0x98, 0xFB, 0x92, 0xFF, 0xFF
+, 0x98, 0xFB, 0x94, 0xFF, 0xFF, 0x98
+, 0xFB, 0x06, 0x08, 0x00, 0x98, 0xFB
+, 0x96, 0x84, 0x00, 0x98, 0xFB, 0x08
+, 0x1C, 0x00, 0x98, 0xFB, 0x51, 0x25
+, 0x10, 0x1C, 0x00, 0xE6, 0x51, 0x01
+, 0x07, 0xFD, 0x4C, 0xFF, 0x20, 0xF5
+, 0x51, 0x02, 0x20, 0x08, 0x00, 0x4C
+, 0xFF, 0x20, 0x3C, 0x00, 0xC0, 0x64
+, 0x98, 0xC0, 0x66, 0x98, 0xC0, 0x68
+, 0x98, 0xC0, 0x6A, 0x98, 0xC0, 0x6C
+, 0x98, 0x90, 0x08, 0x90, 0x09, 0x90
+, 0x0A, 0x90, 0x0B, 0x90, 0x0C, 0x90
+, 0x0D, 0x90, 0x0E, 0x90, 0x0F, 0x90
+, 0x04, 0x90, 0x06, 0xFB, 0x51, 0x22
+, 0x16, 0x08, 0x03, 0xFB, 0x51, 0x52
+, 0x16, 0x08, 0x04, 0xFB, 0x51, 0x24
+, 0x2B, 0x08, 0x06, 0xFB, 0x51, 0x54
+, 0x2B, 0x08, 0x07, 0xFB, 0x51, 0x24
+, 0x2B, 0x08, 0x09, 0xFB, 0x51, 0x54
+, 0x2B, 0x08, 0x0A, 0xFB, 0x51, 0x12
+, 0x16, 0x08, 0x0C, 0xFB, 0x51, 0x52
+, 0x16, 0x08, 0x0D, 0x78, 0x00, 0x00
+, 0x00, 0x16, 0x00, 0x00, 0xEC, 0x31
+, 0xAE, 0x00, 0x00, 0x81, 0x4C, 0x0F
+, 0xE6, 0x43, 0xFF, 0xEC, 0x31, 0x4E
+, 0x00, 0x00, 0x91, 0xEC, 0x31, 0xAE
+, 0x00, 0x00, 0x91, 0x4C, 0x0F, 0xE6
+, 0x43, 0xFF, 0xEC, 0x31, 0x5E, 0x00
+, 0x00, 0xA1, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xA6, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xAC, 0x3C, 0x00, 0xEB, 0x31
+, 0x08, 0x00, 0x00, 0xA8, 0x76, 0xFE
+, 0xFE, 0x08, 0xEB, 0x31, 0x08, 0x20
+, 0x00, 0x00, 0x76, 0xFF, 0xFF, 0x18
+, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
+, 0x26, 0x10, 0x04, 0x10, 0xF5, 0x3C
+, 0x01, 0x3C, 0x00, 0x08, 0x01, 0x12
+, 0x3C, 0x11, 0x3C, 0x00, 0x08, 0x01
+, 0x0B, 0x08, 0x00, 0x6D, 0xEC, 0x31
+, 0xAE, 0x20, 0x00, 0x06, 0xED, 0x4D
+, 0x08, 0x00, 0x00, 0x67, 0x80, 0x6F
+, 0x00, 0x01, 0x0B, 0x6F, 0x00, 0x02
+, 0x2E, 0x76, 0xEE, 0x01, 0x48, 0x06
+, 0x01, 0x39, 0xED, 0x4D, 0x18, 0x00
+, 0x02, 0xED, 0x4D, 0x08, 0x00, 0x04
+, 0x14, 0x06, 0xA4, 0xED, 0x31, 0x22
+, 0x00, 0x00, 0xAC, 0x76, 0xEE, 0x07
+, 0x48, 0x6D, 0x22, 0x01, 0x1E, 0x08
+, 0x01, 0x58, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xAC, 0x06, 0xFF, 0xBA, 0x3C
+, 0x00, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x30, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x00
+, 0x00, 0xA2, 0x91, 0x00, 0x9C, 0x3C
+, 0x80, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
+, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
+, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
+, 0xA4, 0x41, 0x08, 0x00, 0xB6, 0xED
+, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
+, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
+, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
+, 0xFF, 0xE6, 0xA0, 0x31, 0x20, 0x00
+, 0x06, 0xEB, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
+, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
+, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
+, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
+, 0xA4, 0x41, 0x08, 0x00, 0x68, 0xED
+, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
+, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
+, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
+, 0xFF, 0xE6, 0x48, 0x04, 0xEB, 0x31
+, 0x08, 0x20, 0x00, 0x04, 0xEB, 0x31
+, 0x18, 0x20, 0x00, 0x02, 0x3C, 0x11
+, 0xEB, 0x31, 0x18, 0x20, 0x00, 0x00
+, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
+, 0x04, 0x10, 0xF7, 0xED, 0x31, 0x08
+, 0x20, 0x00, 0x02, 0x66, 0x00, 0x6F
+, 0x00, 0x01, 0x16, 0x76, 0xEE, 0x06
+, 0x48, 0x4A, 0x1E, 0x48, 0x04, 0xED
+, 0x31, 0x08, 0x20, 0x00, 0x04, 0xEB
+, 0x31, 0x08, 0x00, 0x00, 0xA4, 0x48
+, 0x04, 0xED, 0x31, 0x08, 0x20, 0x00
+, 0x04, 0xEB, 0x31, 0x08, 0x00, 0x00
+, 0xA2, 0x48, 0x04, 0x20, 0x20, 0x4A
+, 0x7C, 0x46, 0x82, 0x50, 0x05, 0x50
+, 0x15, 0xB5, 0x1E, 0x98, 0xED, 0x31
+, 0x08, 0x00, 0x00, 0xA8, 0x10, 0x47
+, 0x3B, 0x2C, 0x01, 0xDB, 0x40, 0x11
+, 0x98, 0xC1, 0x1E, 0x98, 0x10, 0x07
+, 0x30, 0xF9, 0x40, 0x07, 0x18, 0x98
+, 0x2A, 0x10, 0xEB, 0x31, 0x08, 0x00
+, 0x00, 0xA8, 0xA4, 0x1E, 0x98, 0xBB
+, 0x1E, 0x98, 0x50, 0x14, 0x50, 0x04
+, 0x46, 0x83, 0x48, 0x04, 0x02, 0x01
+, 0x00, 0x50, 0x05, 0x50, 0x15, 0x10
+, 0x87, 0x3F, 0x90, 0x2B, 0x18, 0x01
+, 0x00, 0xC0, 0x31, 0x00, 0x00, 0xAE
+, 0xDF, 0x41, 0x00, 0x08, 0x00, 0x1A
+, 0x42, 0x11, 0x67, 0x01, 0xDF, 0x41
+, 0x02, 0x08, 0x00, 0x10, 0x42, 0x11
+, 0x62, 0x01, 0xB4, 0x43, 0x4A, 0x68
+, 0x50, 0x14, 0x50, 0x04, 0x24, 0x10
+, 0x48, 0x04, 0xF2, 0x31, 0x00, 0x01
+, 0x00, 0x00, 0xAE, 0xF6, 0x31, 0x00
+, 0x01, 0x00, 0x00, 0xAE, 0x62, 0xE4
+, 0xE5, 0x61, 0x04, 0x48, 0x04, 0xE5
+, 0x63, 0x05, 0x48, 0x04, 0x20, 0x20
+, 0x00, 0x00, 0x00, 0x00
};
#endif
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: ft1000: fixed coding style issues
2013-11-02 21:03 Aldo Iljazi
@ 2013-11-02 21:18 ` Aldo Iljazi
2013-11-03 6:30 ` Dan Carpenter
0 siblings, 1 reply; 7+ messages in thread
From: Aldo Iljazi @ 2013-11-02 21:18 UTC (permalink / raw)
To: marek.belisko; +Cc: gregkh, devel, linux-kernel
Aldo Iljazi wrote:
> Fixed a few coding style issues that checkpatch reported.
>
> Specifically:
>
> 1. line over 80 characters issue on the lines 9 and 10.
> 2. space prohibited before open square bracket '[' issue on the lines
> 31.
> 3. inserted space after comma on lines 32 to 156.
>
> Signed-off-by: Aldo Iljazi <mail@aldo.io>
> ---
> drivers/staging/ft1000/ft1000-pcmcia/boot.h | 263 ++++++++++++++--------------
> 1 file changed, 132 insertions(+), 131 deletions(-)
>
> diff --git a/drivers/staging/ft1000/ft1000-pcmcia/boot.h b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
> index 9dce54e..f384bc2 100644
> --- a/drivers/staging/ft1000/ft1000-pcmcia/boot.h
> +++ b/drivers/staging/ft1000/ft1000-pcmcia/boot.h
> @@ -6,11 +6,12 @@
> // This program is free software; you can redistribute it and/or modify it
> // under the terms of the GNU General Public License as published by the Free
> // Software Foundation; either version 2 of the License, or (at your option) any
> -// later version. This program is distributed in the hope that it will be useful,
> -// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
> -// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> -// more details. You should have received a copy of the GNU General Public
> -// License along with this program; if not, write to the
> +// later version. This program is distributed in the hope that it will be
> +// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
> +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> +// See the GNU General Public License for more details.
> +// You should have received a copy of the GNU General Public License
> +// along with this program; if not, write to the
> // Free Software Foundation, Inc., 59 Temple Place -
> // Suite 330, Boston, MA 02111-1307, USA.
> //---------------------------------------------------------------------------
> @@ -27,132 +28,132 @@
> #define _BOOTH_
>
> // Official bootloader
> -static unsigned char bootimage [] = {
> -0x00,0x00,0x01,0x5E,0x00,0x00
> -,0x00,0x00,0x00,0x00,0x02,0xD7
> -,0x00,0x00,0x01,0x5E,0x46,0xB3
> -,0xE6,0x02,0x00,0x98,0xE6,0x8C
> -,0x00,0x98,0xFB,0x92,0xFF,0xFF
> -,0x98,0xFB,0x94,0xFF,0xFF,0x98
> -,0xFB,0x06,0x08,0x00,0x98,0xFB
> -,0x96,0x84,0x00,0x98,0xFB,0x08
> -,0x1C,0x00,0x98,0xFB,0x51,0x25
> -,0x10,0x1C,0x00,0xE6,0x51,0x01
> -,0x07,0xFD,0x4C,0xFF,0x20,0xF5
> -,0x51,0x02,0x20,0x08,0x00,0x4C
> -,0xFF,0x20,0x3C,0x00,0xC0,0x64
> -,0x98,0xC0,0x66,0x98,0xC0,0x68
> -,0x98,0xC0,0x6A,0x98,0xC0,0x6C
> -,0x98,0x90,0x08,0x90,0x09,0x90
> -,0x0A,0x90,0x0B,0x90,0x0C,0x90
> -,0x0D,0x90,0x0E,0x90,0x0F,0x90
> -,0x04,0x90,0x06,0xFB,0x51,0x22
> -,0x16,0x08,0x03,0xFB,0x51,0x52
> -,0x16,0x08,0x04,0xFB,0x51,0x24
> -,0x2B,0x08,0x06,0xFB,0x51,0x54
> -,0x2B,0x08,0x07,0xFB,0x51,0x24
> -,0x2B,0x08,0x09,0xFB,0x51,0x54
> -,0x2B,0x08,0x0A,0xFB,0x51,0x12
> -,0x16,0x08,0x0C,0xFB,0x51,0x52
> -,0x16,0x08,0x0D,0x78,0x00,0x00
> -,0x00,0x16,0x00,0x00,0xEC,0x31
> -,0xAE,0x00,0x00,0x81,0x4C,0x0F
> -,0xE6,0x43,0xFF,0xEC,0x31,0x4E
> -,0x00,0x00,0x91,0xEC,0x31,0xAE
> -,0x00,0x00,0x91,0x4C,0x0F,0xE6
> -,0x43,0xFF,0xEC,0x31,0x5E,0x00
> -,0x00,0xA1,0xEB,0x31,0x08,0x00
> -,0x00,0xA6,0xEB,0x31,0x08,0x00
> -,0x00,0xAC,0x3C,0x00,0xEB,0x31
> -,0x08,0x00,0x00,0xA8,0x76,0xFE
> -,0xFE,0x08,0xEB,0x31,0x08,0x20
> -,0x00,0x00,0x76,0xFF,0xFF,0x18
> -,0xED,0x31,0x08,0x20,0x00,0x00
> -,0x26,0x10,0x04,0x10,0xF5,0x3C
> -,0x01,0x3C,0x00,0x08,0x01,0x12
> -,0x3C,0x11,0x3C,0x00,0x08,0x01
> -,0x0B,0x08,0x00,0x6D,0xEC,0x31
> -,0xAE,0x20,0x00,0x06,0xED,0x4D
> -,0x08,0x00,0x00,0x67,0x80,0x6F
> -,0x00,0x01,0x0B,0x6F,0x00,0x02
> -,0x2E,0x76,0xEE,0x01,0x48,0x06
> -,0x01,0x39,0xED,0x4D,0x18,0x00
> -,0x02,0xED,0x4D,0x08,0x00,0x04
> -,0x14,0x06,0xA4,0xED,0x31,0x22
> -,0x00,0x00,0xAC,0x76,0xEE,0x07
> -,0x48,0x6D,0x22,0x01,0x1E,0x08
> -,0x01,0x58,0xEB,0x31,0x08,0x00
> -,0x00,0xAC,0x06,0xFF,0xBA,0x3C
> -,0x00,0xEB,0x31,0x08,0x20,0x00
> -,0x04,0x3C,0x30,0xEB,0x31,0x08
> -,0x20,0x00,0x02,0x3C,0x10,0xEB
> -,0x31,0x08,0x20,0x00,0x00,0xED
> -,0x31,0x08,0x20,0x00,0x00,0x04
> -,0x10,0xF7,0xED,0x31,0x08,0x00
> -,0x00,0xA2,0x91,0x00,0x9C,0x3C
> -,0x80,0xEB,0x31,0x08,0x20,0x00
> -,0x04,0x3C,0x20,0xEB,0x31,0x08
> -,0x20,0x00,0x02,0x3C,0x10,0xEB
> -,0x31,0x08,0x20,0x00,0x00,0xED
> -,0x31,0x08,0x20,0x00,0x00,0x04
> -,0x10,0xF7,0xED,0x31,0x08,0x20
> -,0x00,0x04,0x42,0x10,0x90,0x08
> -,0xEC,0x31,0xAE,0x20,0x00,0x06
> -,0xA4,0x41,0x08,0x00,0xB6,0xED
> -,0x41,0x28,0x7D,0xFF,0xFF,0x22
> -,0xB3,0x40,0x98,0x2A,0x32,0xEB
> -,0x41,0x28,0xB4,0x43,0xFC,0x05
> -,0xFF,0xE6,0xA0,0x31,0x20,0x00
> -,0x06,0xEB,0x31,0x08,0x20,0x00
> -,0x04,0x3C,0x20,0xEB,0x31,0x08
> -,0x20,0x00,0x02,0x3C,0x10,0xEB
> -,0x31,0x08,0x20,0x00,0x00,0xED
> -,0x31,0x08,0x20,0x00,0x00,0x04
> -,0x10,0xF7,0xED,0x31,0x08,0x20
> -,0x00,0x04,0x42,0x10,0x90,0x08
> -,0xEC,0x31,0xAE,0x20,0x00,0x06
> -,0xA4,0x41,0x08,0x00,0x68,0xED
> -,0x41,0x28,0x7D,0xFF,0xFF,0x22
> -,0xB3,0x40,0x98,0x2A,0x32,0xEB
> -,0x41,0x28,0xB4,0x43,0xFC,0x05
> -,0xFF,0xE6,0x48,0x04,0xEB,0x31
> -,0x08,0x20,0x00,0x04,0xEB,0x31
> -,0x18,0x20,0x00,0x02,0x3C,0x11
> -,0xEB,0x31,0x18,0x20,0x00,0x00
> -,0xED,0x31,0x08,0x20,0x00,0x00
> -,0x04,0x10,0xF7,0xED,0x31,0x08
> -,0x20,0x00,0x02,0x66,0x00,0x6F
> -,0x00,0x01,0x16,0x76,0xEE,0x06
> -,0x48,0x4A,0x1E,0x48,0x04,0xED
> -,0x31,0x08,0x20,0x00,0x04,0xEB
> -,0x31,0x08,0x00,0x00,0xA4,0x48
> -,0x04,0xED,0x31,0x08,0x20,0x00
> -,0x04,0xEB,0x31,0x08,0x00,0x00
> -,0xA2,0x48,0x04,0x20,0x20,0x4A
> -,0x7C,0x46,0x82,0x50,0x05,0x50
> -,0x15,0xB5,0x1E,0x98,0xED,0x31
> -,0x08,0x00,0x00,0xA8,0x10,0x47
> -,0x3B,0x2C,0x01,0xDB,0x40,0x11
> -,0x98,0xC1,0x1E,0x98,0x10,0x07
> -,0x30,0xF9,0x40,0x07,0x18,0x98
> -,0x2A,0x10,0xEB,0x31,0x08,0x00
> -,0x00,0xA8,0xA4,0x1E,0x98,0xBB
> -,0x1E,0x98,0x50,0x14,0x50,0x04
> -,0x46,0x83,0x48,0x04,0x02,0x01
> -,0x00,0x50,0x05,0x50,0x15,0x10
> -,0x87,0x3F,0x90,0x2B,0x18,0x01
> -,0x00,0xC0,0x31,0x00,0x00,0xAE
> -,0xDF,0x41,0x00,0x08,0x00,0x1A
> -,0x42,0x11,0x67,0x01,0xDF,0x41
> -,0x02,0x08,0x00,0x10,0x42,0x11
> -,0x62,0x01,0xB4,0x43,0x4A,0x68
> -,0x50,0x14,0x50,0x04,0x24,0x10
> -,0x48,0x04,0xF2,0x31,0x00,0x01
> -,0x00,0x00,0xAE,0xF6,0x31,0x00
> -,0x01,0x00,0x00,0xAE,0x62,0xE4
> -,0xE5,0x61,0x04,0x48,0x04,0xE5
> -,0x63,0x05,0x48,0x04,0x20,0x20
> -,0x00,0x00,0x00,0x00
> +static unsigned char bootimage[] = {
> +0x00, 0x00, 0x01, 0x5E, 0x00, 0x00
> +, 0x00, 0x00, 0x00, 0x00, 0x02, 0xD7
> +, 0x00, 0x00, 0x01, 0x5E, 0x46, 0xB3
> +, 0xE6, 0x02, 0x00, 0x98, 0xE6, 0x8C
> +, 0x00, 0x98, 0xFB, 0x92, 0xFF, 0xFF
> +, 0x98, 0xFB, 0x94, 0xFF, 0xFF, 0x98
> +, 0xFB, 0x06, 0x08, 0x00, 0x98, 0xFB
> +, 0x96, 0x84, 0x00, 0x98, 0xFB, 0x08
> +, 0x1C, 0x00, 0x98, 0xFB, 0x51, 0x25
> +, 0x10, 0x1C, 0x00, 0xE6, 0x51, 0x01
> +, 0x07, 0xFD, 0x4C, 0xFF, 0x20, 0xF5
> +, 0x51, 0x02, 0x20, 0x08, 0x00, 0x4C
> +, 0xFF, 0x20, 0x3C, 0x00, 0xC0, 0x64
> +, 0x98, 0xC0, 0x66, 0x98, 0xC0, 0x68
> +, 0x98, 0xC0, 0x6A, 0x98, 0xC0, 0x6C
> +, 0x98, 0x90, 0x08, 0x90, 0x09, 0x90
> +, 0x0A, 0x90, 0x0B, 0x90, 0x0C, 0x90
> +, 0x0D, 0x90, 0x0E, 0x90, 0x0F, 0x90
> +, 0x04, 0x90, 0x06, 0xFB, 0x51, 0x22
> +, 0x16, 0x08, 0x03, 0xFB, 0x51, 0x52
> +, 0x16, 0x08, 0x04, 0xFB, 0x51, 0x24
> +, 0x2B, 0x08, 0x06, 0xFB, 0x51, 0x54
> +, 0x2B, 0x08, 0x07, 0xFB, 0x51, 0x24
> +, 0x2B, 0x08, 0x09, 0xFB, 0x51, 0x54
> +, 0x2B, 0x08, 0x0A, 0xFB, 0x51, 0x12
> +, 0x16, 0x08, 0x0C, 0xFB, 0x51, 0x52
> +, 0x16, 0x08, 0x0D, 0x78, 0x00, 0x00
> +, 0x00, 0x16, 0x00, 0x00, 0xEC, 0x31
> +, 0xAE, 0x00, 0x00, 0x81, 0x4C, 0x0F
> +, 0xE6, 0x43, 0xFF, 0xEC, 0x31, 0x4E
> +, 0x00, 0x00, 0x91, 0xEC, 0x31, 0xAE
> +, 0x00, 0x00, 0x91, 0x4C, 0x0F, 0xE6
> +, 0x43, 0xFF, 0xEC, 0x31, 0x5E, 0x00
> +, 0x00, 0xA1, 0xEB, 0x31, 0x08, 0x00
> +, 0x00, 0xA6, 0xEB, 0x31, 0x08, 0x00
> +, 0x00, 0xAC, 0x3C, 0x00, 0xEB, 0x31
> +, 0x08, 0x00, 0x00, 0xA8, 0x76, 0xFE
> +, 0xFE, 0x08, 0xEB, 0x31, 0x08, 0x20
> +, 0x00, 0x00, 0x76, 0xFF, 0xFF, 0x18
> +, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
> +, 0x26, 0x10, 0x04, 0x10, 0xF5, 0x3C
> +, 0x01, 0x3C, 0x00, 0x08, 0x01, 0x12
> +, 0x3C, 0x11, 0x3C, 0x00, 0x08, 0x01
> +, 0x0B, 0x08, 0x00, 0x6D, 0xEC, 0x31
> +, 0xAE, 0x20, 0x00, 0x06, 0xED, 0x4D
> +, 0x08, 0x00, 0x00, 0x67, 0x80, 0x6F
> +, 0x00, 0x01, 0x0B, 0x6F, 0x00, 0x02
> +, 0x2E, 0x76, 0xEE, 0x01, 0x48, 0x06
> +, 0x01, 0x39, 0xED, 0x4D, 0x18, 0x00
> +, 0x02, 0xED, 0x4D, 0x08, 0x00, 0x04
> +, 0x14, 0x06, 0xA4, 0xED, 0x31, 0x22
> +, 0x00, 0x00, 0xAC, 0x76, 0xEE, 0x07
> +, 0x48, 0x6D, 0x22, 0x01, 0x1E, 0x08
> +, 0x01, 0x58, 0xEB, 0x31, 0x08, 0x00
> +, 0x00, 0xAC, 0x06, 0xFF, 0xBA, 0x3C
> +, 0x00, 0xEB, 0x31, 0x08, 0x20, 0x00
> +, 0x04, 0x3C, 0x30, 0xEB, 0x31, 0x08
> +, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
> +, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
> +, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
> +, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x00
> +, 0x00, 0xA2, 0x91, 0x00, 0x9C, 0x3C
> +, 0x80, 0xEB, 0x31, 0x08, 0x20, 0x00
> +, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
> +, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
> +, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
> +, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
> +, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
> +, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
> +, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
> +, 0xA4, 0x41, 0x08, 0x00, 0xB6, 0xED
> +, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
> +, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
> +, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
> +, 0xFF, 0xE6, 0xA0, 0x31, 0x20, 0x00
> +, 0x06, 0xEB, 0x31, 0x08, 0x20, 0x00
> +, 0x04, 0x3C, 0x20, 0xEB, 0x31, 0x08
> +, 0x20, 0x00, 0x02, 0x3C, 0x10, 0xEB
> +, 0x31, 0x08, 0x20, 0x00, 0x00, 0xED
> +, 0x31, 0x08, 0x20, 0x00, 0x00, 0x04
> +, 0x10, 0xF7, 0xED, 0x31, 0x08, 0x20
> +, 0x00, 0x04, 0x42, 0x10, 0x90, 0x08
> +, 0xEC, 0x31, 0xAE, 0x20, 0x00, 0x06
> +, 0xA4, 0x41, 0x08, 0x00, 0x68, 0xED
> +, 0x41, 0x28, 0x7D, 0xFF, 0xFF, 0x22
> +, 0xB3, 0x40, 0x98, 0x2A, 0x32, 0xEB
> +, 0x41, 0x28, 0xB4, 0x43, 0xFC, 0x05
> +, 0xFF, 0xE6, 0x48, 0x04, 0xEB, 0x31
> +, 0x08, 0x20, 0x00, 0x04, 0xEB, 0x31
> +, 0x18, 0x20, 0x00, 0x02, 0x3C, 0x11
> +, 0xEB, 0x31, 0x18, 0x20, 0x00, 0x00
> +, 0xED, 0x31, 0x08, 0x20, 0x00, 0x00
> +, 0x04, 0x10, 0xF7, 0xED, 0x31, 0x08
> +, 0x20, 0x00, 0x02, 0x66, 0x00, 0x6F
> +, 0x00, 0x01, 0x16, 0x76, 0xEE, 0x06
> +, 0x48, 0x4A, 0x1E, 0x48, 0x04, 0xED
> +, 0x31, 0x08, 0x20, 0x00, 0x04, 0xEB
> +, 0x31, 0x08, 0x00, 0x00, 0xA4, 0x48
> +, 0x04, 0xED, 0x31, 0x08, 0x20, 0x00
> +, 0x04, 0xEB, 0x31, 0x08, 0x00, 0x00
> +, 0xA2, 0x48, 0x04, 0x20, 0x20, 0x4A
> +, 0x7C, 0x46, 0x82, 0x50, 0x05, 0x50
> +, 0x15, 0xB5, 0x1E, 0x98, 0xED, 0x31
> +, 0x08, 0x00, 0x00, 0xA8, 0x10, 0x47
> +, 0x3B, 0x2C, 0x01, 0xDB, 0x40, 0x11
> +, 0x98, 0xC1, 0x1E, 0x98, 0x10, 0x07
> +, 0x30, 0xF9, 0x40, 0x07, 0x18, 0x98
> +, 0x2A, 0x10, 0xEB, 0x31, 0x08, 0x00
> +, 0x00, 0xA8, 0xA4, 0x1E, 0x98, 0xBB
> +, 0x1E, 0x98, 0x50, 0x14, 0x50, 0x04
> +, 0x46, 0x83, 0x48, 0x04, 0x02, 0x01
> +, 0x00, 0x50, 0x05, 0x50, 0x15, 0x10
> +, 0x87, 0x3F, 0x90, 0x2B, 0x18, 0x01
> +, 0x00, 0xC0, 0x31, 0x00, 0x00, 0xAE
> +, 0xDF, 0x41, 0x00, 0x08, 0x00, 0x1A
> +, 0x42, 0x11, 0x67, 0x01, 0xDF, 0x41
> +, 0x02, 0x08, 0x00, 0x10, 0x42, 0x11
> +, 0x62, 0x01, 0xB4, 0x43, 0x4A, 0x68
> +, 0x50, 0x14, 0x50, 0x04, 0x24, 0x10
> +, 0x48, 0x04, 0xF2, 0x31, 0x00, 0x01
> +, 0x00, 0x00, 0xAE, 0xF6, 0x31, 0x00
> +, 0x01, 0x00, 0x00, 0xAE, 0x62, 0xE4
> +, 0xE5, 0x61, 0x04, 0x48, 0x04, 0xE5
> +, 0x63, 0x05, 0x48, 0x04, 0x20, 0x20
> +, 0x00, 0x00, 0x00, 0x00
> };
>
> #endif
> --
> 1.8.3.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
I am sorry guys, something went really wrong with my VIM configuration.
THIS IS THE RIGHT ONE!
--
Aldo Iljazi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: ft1000: fixed coding style issues
2013-11-02 21:18 ` Aldo Iljazi
@ 2013-11-03 6:30 ` Dan Carpenter
2013-11-03 8:18 ` Aldo Iljazi
0 siblings, 1 reply; 7+ messages in thread
From: Dan Carpenter @ 2013-11-03 6:30 UTC (permalink / raw)
To: Aldo Iljazi; +Cc: marek.belisko, devel, gregkh, linux-kernel
On Sat, Nov 02, 2013 at 11:18:20PM +0200, Aldo Iljazi wrote:
> Aldo Iljazi wrote:
>
> > Fixed a few coding style issues that checkpatch reported.
> >
> > Specifically:
> >
> > 1. line over 80 characters issue on the lines 9 and 10.
> > 2. space prohibited before open square bracket '[' issue on the lines
> > 31.
> > 3. inserted space after comma on lines 32 to 156.
> >
> > Signed-off-by: Aldo Iljazi <mail@aldo.io>
This file is easy to review so you may as well fix all the issues.
Clean up the license block so it's in the normal format. Put the commas
at the end of the line instead of the beginning.
regards,
dan carpenter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Staging: ft1000: fixed coding style issues
2013-11-03 6:30 ` Dan Carpenter
@ 2013-11-03 8:18 ` Aldo Iljazi
0 siblings, 0 replies; 7+ messages in thread
From: Aldo Iljazi @ 2013-11-03 8:18 UTC (permalink / raw)
To: Dan Carpenter; +Cc: marek.belisko, devel, gregkh, linux-kernel
Dan Carpenter wrote:
> On Sat, Nov 02, 2013 at 11:18:20PM +0200, Aldo Iljazi wrote:
> > Aldo Iljazi wrote:
> >
> > > Fixed a few coding style issues that checkpatch reported.
> > >
> > > Specifically:
> > >
> > > 1. line over 80 characters issue on the lines 9 and 10.
> > > 2. space prohibited before open square bracket '[' issue on the lines
> > > 31.
> > > 3. inserted space after comma on lines 32 to 156.
> > >
> > > Signed-off-by: Aldo Iljazi <mail@aldo.io>
>
> This file is easy to review so you may as well fix all the issues.
>
> Clean up the license block so it's in the normal format. Put the commas
> at the end of the line instead of the beginning.
>
> regards,
> dan carpenter
>
Okay I'll resend later.
--
Aldo Iljazi
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] Staging: ft1000: fixed coding style issues
@ 2013-11-10 13:44 Aldo Iljazi
0 siblings, 0 replies; 7+ messages in thread
From: Aldo Iljazi @ 2013-11-10 13:44 UTC (permalink / raw)
To: marek.belisko; +Cc: gregkh, devel, linux-kernel
Fixed the following coding style issues:
Lines 84-91,99-106,275,514: Replaced spaces at the start of the lines
with tabs.
Lines 205,271: Inserted spaces after the commas.
Lines 275,1060,1065: Indented the code with tabs instead of spaces.
Line 275: Inserted spaces around '=' and '<', also moved the trailing
statement on the next line.
Line 512: Removed space between function name and open parenthesis.
Line 839: Removed space after '&'.
Line 853: Removed space after '&'.
Signed-off-by: Aldo Iljazi <mail@aldo.io>
---
.../staging/ft1000/ft1000-usb/ft1000_download.c | 57 +++++++++++-----------
1 file changed, 29 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
index 68ded17..170908a 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
@@ -81,29 +81,29 @@
#define DWNLD_MAG1_PS_HDR_LOC 0x03
struct dsp_file_hdr {
- long version_id; // Version ID of this image format.
- long package_id; // Package ID of code release.
- long build_date; // Date/time stamp when file was built.
- long commands_offset; // Offset to attached commands in Pseudo Hdr format.
- long loader_offset; // Offset to bootloader code.
- long loader_code_address; // Start address of bootloader.
- long loader_code_end; // Where bootloader code ends.
- long loader_code_size;
- long version_data_offset; // Offset were scrambled version data begins.
- long version_data_size; // Size, in words, of scrambled version data.
- long nDspImages; // Number of DSP images in file.
+ long version_id; // Version ID of this image format.
+ long package_id; // Package ID of code release.
+ long build_date; // Date/time stamp when file was built.
+ long commands_offset; // Offset to attached commands in Pseudo Hdr format.
+ long loader_offset; // Offset to bootloader code.
+ long loader_code_address; // Start address of bootloader.
+ long loader_code_end; // Where bootloader code ends.
+ long loader_code_size;
+ long version_data_offset; // Offset were scrambled version data begins.
+ long version_data_size; // Size, in words, of scrambled version data.
+ long nDspImages; // Number of DSP images in file.
};
#pragma pack(1)
struct dsp_image_info {
- long coff_date; // Date/time when DSP Coff image was built.
- long begin_offset; // Offset in file where image begins.
- long end_offset; // Offset in file where image begins.
- long run_address; // On chip Start address of DSP code.
- long image_size; // Size of image.
- long version; // Embedded version # of DSP code.
- unsigned short checksum; // DSP File checksum
- unsigned short pad1;
+ long coff_date; // Date/time when DSP Coff image was built.
+ long begin_offset; // Offset in file where image begins.
+ long end_offset; // Offset in file where image begins.
+ long run_address; // On chip Start address of DSP code.
+ long image_size; // Size of image.
+ long version; // Embedded version # of DSP code.
+ unsigned short checksum; // DSP File checksum
+ unsigned short pad1;
};
@@ -202,7 +202,7 @@ static u16 get_handshake(struct ft1000_usb *ft1000dev, u16 expected_value)
}
/* write the handshake value to the handshake location */
-static void put_handshake(struct ft1000_usb *ft1000dev,u16 handshake_value)
+static void put_handshake(struct ft1000_usb *ft1000dev, u16 handshake_value)
{
u32 tempx;
u16 tempword;
@@ -268,11 +268,12 @@ static u16 get_handshake_usb(struct ft1000_usb *ft1000dev, u16 expected_value)
return HANDSHAKE_TIMEOUT_VALUE;
}
-static void put_handshake_usb(struct ft1000_usb *ft1000dev,u16 handshake_value)
+static void put_handshake_usb(struct ft1000_usb *ft1000dev, u16 handshake_value)
{
int i;
- for (i=0; i<1000; i++);
+ for (i = 0; i < 1000; i++)
+ ;
}
static u16 get_request_type(struct ft1000_usb *ft1000dev)
@@ -509,9 +510,9 @@ static int write_blk(struct ft1000_usb *ft1000dev, u16 **pUsFile, u8 **pUcFile,
return status;
}
-static void usb_dnld_complete (struct urb *urb)
+static void usb_dnld_complete(struct urb *urb)
{
- //DEBUG("****** usb_dnld_complete\n");
+ //DEBUG("****** usb_dnld_complete\n");
}
/* writes a block of DSP image to DPRAM
@@ -836,7 +837,7 @@ int scram_dnldr(struct ft1000_usb *ft1000dev, void *pFileStart,
* Position ASIC DPRAM auto-increment pointer.
*/
- data = (u16 *) & mailbox_data->data[0];
+ data = (u16 *) &mailbox_data->data[0];
dpram = (u16) DWNLD_MAG1_PS_HDR_LOC;
if (word_length & 0x1)
word_length++;
@@ -850,7 +851,7 @@ int scram_dnldr(struct ft1000_usb *ft1000dev, void *pFileStart,
status =
fix_ft1000_write_dpram32
(ft1000dev, dpram++,
- (u8 *) & templong);
+ (u8 *) &templong);
}
break;
@@ -1057,12 +1058,12 @@ int scram_dnldr(struct ft1000_usb *ft1000dev, void *pFileStart,
// Check if Card is present
status = Harley_Read_Register(&temp, FT1000_REG_SUP_IMASK);
if ( (status != NDIS_STATUS_SUCCESS) || (temp == 0x0000) ) {
- break;
+ break;
}
status = Harley_Read_Register(&temp, FT1000_REG_ASIC_ID);
if ( (status != NDIS_STATUS_SUCCESS) || (temp == 0xffff) ) {
- break;
+ break;
}
****/
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-11-10 13:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-02 20:55 [PATCH] Staging: ft1000: fixed coding style issues Aldo Iljazi
-- strict thread matches above, loose matches on Subject: below --
2013-11-10 13:44 Aldo Iljazi
2013-11-02 21:03 Aldo Iljazi
2013-11-02 21:18 ` Aldo Iljazi
2013-11-03 6:30 ` Dan Carpenter
2013-11-03 8:18 ` Aldo Iljazi
2013-11-02 20:47 Aldo Iljazi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).