* [PATCH 184/199] drivers/atm/firestream.h: Checkpatch cleanup
@ 2010-05-23 20:06 Andrea Gelmini
2010-05-23 20:06 ` [PATCH 185/199] drivers/atm/idt77252_tables.h: " Andrea Gelmini
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Andrea Gelmini @ 2010-05-23 20:06 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Chas Williams, linux-atm-general, netdev
drivers/atm/firestream.h:2: ERROR: trailing whitespace
drivers/atm/firestream.h:4: ERROR: trailing whitespace
drivers/atm/firestream.h:5: ERROR: trailing whitespace
drivers/atm/firestream.h:6: ERROR: trailing whitespace
drivers/atm/firestream.h:7: ERROR: trailing whitespace
drivers/atm/firestream.h:191: ERROR: trailing whitespace
drivers/atm/firestream.h:221: ERROR: trailing whitespace
drivers/atm/firestream.h:232: ERROR: trailing whitespace
drivers/atm/firestream.h:385: ERROR: trailing whitespace
drivers/atm/firestream.h:458: ERROR: trailing whitespace
drivers/atm/firestream.h:501: ERROR: trailing whitespace
drivers/atm/firestream.h:501: ERROR: code indent should use tabs where possible
drivers/atm/firestream.h:511: ERROR: trailing whitespace
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
drivers/atm/firestream.h | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/atm/firestream.h b/drivers/atm/firestream.h
index 49e783e..840befd 100644
--- a/drivers/atm/firestream.h
+++ b/drivers/atm/firestream.h
@@ -1,10 +1,10 @@
/* drivers/atm/firestream.h - FireStream 155 (MB86697) and
- * FireStream 50 (MB86695) device driver
+ * FireStream 50 (MB86695) device driver
*/
-
-/* Written & (C) 2000 by R.E.Wolff@BitWizard.nl
- * Copied snippets from zatm.c by Werner Almesberger, EPFL LRC/ICA
- * and ambassador.c Copyright (C) 1995-1999 Madge Networks Ltd
+
+/* Written & (C) 2000 by R.E.Wolff@BitWizard.nl
+ * Copied snippets from zatm.c by Werner Almesberger, EPFL LRC/ICA
+ * and ambassador.c Copyright (C) 1995-1999 Madge Networks Ltd
*/
/*
@@ -188,7 +188,7 @@ struct FS_BPENTRY {
*/
-/* And now for something completely different:
+/* And now for something completely different:
* The rest of the registers... */
@@ -218,7 +218,7 @@ struct FS_BPENTRY {
#define SARMODE0_ABRVCS_8k (0x5 << 4)
#define SARMODE0_ABRVCS_16k (0x6 << 4)
#define SARMODE0_ABRVCS_32k (0x7 << 4)
-#define SARMODE0_ABRVCS_32 (0x9 << 4) /* The others are "8", this one really has to
+#define SARMODE0_ABRVCS_32 (0x9 << 4) /* The others are "8", this one really has to
be 9. Tell me you don't believe me. -- REW */
#define SARMODE0_RXVCS_0 (0x0 << 8)
@@ -229,7 +229,7 @@ struct FS_BPENTRY {
#define SARMODE0_RXVCS_16k (0x5 << 8)
#define SARMODE0_RXVCS_32k (0x6 << 8)
#define SARMODE0_RXVCS_64k (0x7 << 8)
-#define SARMODE0_RXVCS_32 (0x8 << 8)
+#define SARMODE0_RXVCS_32 (0x8 << 8)
#define SARMODE0_CALSUP_1 (0x0 << 12)
#define SARMODE0_CALSUP_2 (0x1 << 12)
@@ -382,7 +382,7 @@ struct fs_transmit_config {
#define TC_FLAGS_TRANSPARENT_PAYLOAD (0x1 << 29)
#define TC_FLAGS_TRANSPARENT_CELL (0x2 << 29)
#define TC_FLAGS_STREAMING (0x1 << 28)
-#define TC_FLAGS_PACKET (0x0)
+#define TC_FLAGS_PACKET (0x0)
#define TC_FLAGS_TYPE_ABR (0x0 << 22)
#define TC_FLAGS_TYPE_CBR (0x1 << 22)
#define TC_FLAGS_TYPE_VBR (0x2 << 22)
@@ -455,7 +455,7 @@ struct fs_vcc {
struct queue {
- struct FS_QENTRY *sa, *ea;
+ struct FS_QENTRY *sa, *ea;
int offset;
};
@@ -498,7 +498,7 @@ struct fs_dev {
#define FS50_CHANNEL_BITS 5
#define FS50_NR_CHANNELS (1 << FS50_CHANNEL_BITS)
-
+
#define FS_DEV(atm_dev) ((struct fs_dev *) (atm_dev)->dev_data)
#define FS_VCC(atm_vcc) ((struct fs_vcc *) (atm_vcc)->dev_data)
@@ -508,7 +508,7 @@ struct fs_dev {
#define IS_FS50(dev) (dev->flags & FS_IS50)
#define IS_FS155(dev) (dev->flags & FS_IS155)
-
+
/* Within limits this is user-configurable. */
/* Note: Currently the sum (10 -> 1k channels) is hardcoded in the driver. */
#define FS155_VPI_BITS 4
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 185/199] drivers/atm/idt77252_tables.h: Checkpatch cleanup
2010-05-23 20:06 [PATCH 184/199] drivers/atm/firestream.h: Checkpatch cleanup Andrea Gelmini
@ 2010-05-23 20:06 ` Andrea Gelmini
2010-05-23 20:06 ` [PATCH 186/199] drivers/atm/midway.h: " Andrea Gelmini
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Andrea Gelmini @ 2010-05-23 20:06 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Chas Williams, linux-atm-general, netdev
drivers/atm/idt77252_tables.h:7: ERROR: that open brace { should be on the previous line
drivers/atm/idt77252_tables.h:267: ERROR: that open brace { should be on the previous line
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
drivers/atm/idt77252_tables.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/atm/idt77252_tables.h b/drivers/atm/idt77252_tables.h
index b6c8ee5..2e814cf 100644
--- a/drivers/atm/idt77252_tables.h
+++ b/drivers/atm/idt77252_tables.h
@@ -3,8 +3,7 @@
* Cell Line Rate: 353207.55 (155520000 bps)
*/
-static unsigned int log_to_rate[] =
-{
+static unsigned int log_to_rate[] = {
/* 000 */ 0x8d022e27, /* cps = 10.02, nrm = 3, interval = 35264.00 */
/* 001 */ 0x8d362e11, /* cps = 10.42, nrm = 3, interval = 33856.00 */
/* 002 */ 0x8d6e2bf8, /* cps = 10.86, nrm = 3, interval = 32512.00 */
@@ -263,8 +262,7 @@ static unsigned int log_to_rate[] =
/* 255 */ 0xc9630020, /* cps = 352768.00, nrm = 32, interval = 1.00 */
};
-static unsigned char rate_to_log[] =
-{
+static unsigned char rate_to_log[] = {
/* 1.00 => 0 */ 0x00, /* => 10.02 */
/* 1.06 => 0 */ 0x00, /* => 10.02 */
/* 1.12 => 0 */ 0x00, /* => 10.02 */
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 186/199] drivers/atm/midway.h: Checkpatch cleanup
2010-05-23 20:06 [PATCH 184/199] drivers/atm/firestream.h: Checkpatch cleanup Andrea Gelmini
2010-05-23 20:06 ` [PATCH 185/199] drivers/atm/idt77252_tables.h: " Andrea Gelmini
@ 2010-05-23 20:06 ` Andrea Gelmini
2010-05-23 20:06 ` [PATCH 187/199] drivers/atm/tonga.h: " Andrea Gelmini
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Andrea Gelmini @ 2010-05-23 20:06 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Chas Williams, linux-atm-general, netdev
drivers/atm/midway.h:2: ERROR: trailing whitespace
drivers/atm/midway.h:4: ERROR: trailing whitespace
drivers/atm/midway.h:162: ERROR: space required after that ',' (ctx:VxV)
drivers/atm/midway.h:164: ERROR: space required after that ',' (ctx:VxV)
drivers/atm/midway.h:165: ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
drivers/atm/midway.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/atm/midway.h b/drivers/atm/midway.h
index 432525a..1d29b1a 100644
--- a/drivers/atm/midway.h
+++ b/drivers/atm/midway.h
@@ -1,7 +1,7 @@
/* drivers/atm/midway.h - Efficient Networks Midway (SAR) description */
-
+
/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
-
+
#ifndef DRIVERS_ATM_MIDWAY_H
#define DRIVERS_ATM_MIDWAY_H
@@ -159,10 +159,10 @@
#define ENI155_MAGIC 0xa54b872d
struct midway_eprom {
- unsigned char mac[MAC_LEN],inv_mac[MAC_LEN];
+ unsigned char mac[MAC_LEN], inv_mac[MAC_LEN];
unsigned char pad[36];
- u32 serial,inv_serial;
- u32 magic,inv_magic;
+ u32 serial, inv_serial;
+ u32 magic, inv_magic;
};
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 187/199] drivers/atm/tonga.h: Checkpatch cleanup
2010-05-23 20:06 [PATCH 184/199] drivers/atm/firestream.h: Checkpatch cleanup Andrea Gelmini
2010-05-23 20:06 ` [PATCH 185/199] drivers/atm/idt77252_tables.h: " Andrea Gelmini
2010-05-23 20:06 ` [PATCH 186/199] drivers/atm/midway.h: " Andrea Gelmini
@ 2010-05-23 20:06 ` Andrea Gelmini
2010-05-23 20:06 ` [PATCH 188/199] drivers/atm/uPD98401.h: " Andrea Gelmini
2010-05-23 20:06 ` [PATCH 189/199] drivers/atm/uPD98402.h: " Andrea Gelmini
4 siblings, 0 replies; 6+ messages in thread
From: Andrea Gelmini @ 2010-05-23 20:06 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Chas Williams, linux-atm-general, netdev
drivers/atm/tonga.h:2: ERROR: trailing whitespace
drivers/atm/tonga.h:4: ERROR: trailing whitespace
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
drivers/atm/tonga.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/atm/tonga.h b/drivers/atm/tonga.h
index 672da96..66ea795 100644
--- a/drivers/atm/tonga.h
+++ b/drivers/atm/tonga.h
@@ -1,7 +1,7 @@
/* drivers/atm/tonga.h - Efficient Networks Tonga (PCI bridge) declarations */
-
+
/* Written 1995 by Werner Almesberger, EPFL LRC */
-
+
#ifndef DRIVER_ATM_TONGA_H
#define DRIVER_ATM_TONGA_H
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 188/199] drivers/atm/uPD98401.h: Checkpatch cleanup
2010-05-23 20:06 [PATCH 184/199] drivers/atm/firestream.h: Checkpatch cleanup Andrea Gelmini
` (2 preceding siblings ...)
2010-05-23 20:06 ` [PATCH 187/199] drivers/atm/tonga.h: " Andrea Gelmini
@ 2010-05-23 20:06 ` Andrea Gelmini
2010-05-23 20:06 ` [PATCH 189/199] drivers/atm/uPD98402.h: " Andrea Gelmini
4 siblings, 0 replies; 6+ messages in thread
From: Andrea Gelmini @ 2010-05-23 20:06 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Chas Williams, linux-atm-general, netdev
drivers/atm/uPD98401.h:2: ERROR: trailing whitespace
drivers/atm/uPD98401.h:4: ERROR: trailing whitespace
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
drivers/atm/uPD98401.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/atm/uPD98401.h b/drivers/atm/uPD98401.h
index 0ab3650..4e6a3e0 100644
--- a/drivers/atm/uPD98401.h
+++ b/drivers/atm/uPD98401.h
@@ -1,7 +1,7 @@
/* drivers/atm/uPD98401.h - NEC uPD98401 (SAR) declarations */
-
+
/* Written 1995 by Werner Almesberger, EPFL LRC */
-
+
#ifndef DRIVERS_ATM_uPD98401_H
#define DRIVERS_ATM_uPD98401_H
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 189/199] drivers/atm/uPD98402.h: Checkpatch cleanup
2010-05-23 20:06 [PATCH 184/199] drivers/atm/firestream.h: Checkpatch cleanup Andrea Gelmini
` (3 preceding siblings ...)
2010-05-23 20:06 ` [PATCH 188/199] drivers/atm/uPD98401.h: " Andrea Gelmini
@ 2010-05-23 20:06 ` Andrea Gelmini
4 siblings, 0 replies; 6+ messages in thread
From: Andrea Gelmini @ 2010-05-23 20:06 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Chas Williams, linux-atm-general, netdev
drivers/atm/uPD98402.h:2: ERROR: trailing whitespace
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
drivers/atm/uPD98402.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/atm/uPD98402.h b/drivers/atm/uPD98402.h
index c947214..951e68b 100644
--- a/drivers/atm/uPD98402.h
+++ b/drivers/atm/uPD98402.h
@@ -1,5 +1,5 @@
/* drivers/atm/uPD98402.h - NEC uPD98402 (PHY) declarations */
-
+
/* Written 1995 by Werner Almesberger, EPFL LRC */
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-05-23 20:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-23 20:06 [PATCH 184/199] drivers/atm/firestream.h: Checkpatch cleanup Andrea Gelmini
2010-05-23 20:06 ` [PATCH 185/199] drivers/atm/idt77252_tables.h: " Andrea Gelmini
2010-05-23 20:06 ` [PATCH 186/199] drivers/atm/midway.h: " Andrea Gelmini
2010-05-23 20:06 ` [PATCH 187/199] drivers/atm/tonga.h: " Andrea Gelmini
2010-05-23 20:06 ` [PATCH 188/199] drivers/atm/uPD98401.h: " Andrea Gelmini
2010-05-23 20:06 ` [PATCH 189/199] drivers/atm/uPD98402.h: " Andrea Gelmini
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).