netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] atm: add missing parentheses
@ 2009-02-17 13:29 Roel Kluin
  2009-02-18 12:34 ` Roel Kluin
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2009-02-17 13:29 UTC (permalink / raw)
  To: chas; +Cc: netdev, Andrew Morton

Add missing parentheses

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c
index 98099f5..60c4513 100644
--- a/drivers/atm/firestream.c
+++ b/drivers/atm/firestream.c
@@ -1693,14 +1693,14 @@ static int __devinit fs_init (struct fs_dev *dev)
 		  | IS_FS50(dev)?SARMODE0_PRPWT_FS50_5: 
 		                 SARMODE0_PRPWT_FS155_3
 		  | (1 * SARMODE0_CALSUP_1)
-		  | IS_FS50 (dev)?(0
+		  | (IS_FS50(dev) ? (0
 				   | SARMODE0_RXVCS_32
 				   | SARMODE0_ABRVCS_32 
 				   | SARMODE0_TXVCS_32):
 		                  (0
 				   | SARMODE0_RXVCS_1k
 				   | SARMODE0_ABRVCS_1k 
-				   | SARMODE0_TXVCS_1k));
+				   | SARMODE0_TXVCS_1k)));
 
 	/* 10ms * 100 is 1 second. That should be enough, as AN3:9 says it takes
 	   1ms. */

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] atm: add missing parentheses
  2009-02-17 13:29 [PATCH] atm: add missing parentheses Roel Kluin
@ 2009-02-18 12:34 ` Roel Kluin
  2009-02-19  3:35   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2009-02-18 12:34 UTC (permalink / raw)
  To: chas; +Cc: netdev, Andrew Morton, David S. Miller

I previously sent this, but missed the first.
--------------------------->8-------------8<------------------------------
Add missing parentheses

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c
index 98099f5..b119640 100644
--- a/drivers/atm/firestream.c
+++ b/drivers/atm/firestream.c
@@ -1690,17 +1690,17 @@ static int __devinit fs_init (struct fs_dev *dev)
 		  | (0 * SARMODE0_SHADEN) /* We don't use shadow registers. */
 		  | (1 * SARMODE0_INTMODE_READCLEAR)
 		  | (1 * SARMODE0_CWRE)
-		  | IS_FS50(dev)?SARMODE0_PRPWT_FS50_5: 
-		                 SARMODE0_PRPWT_FS155_3
+		  | (IS_FS50(dev) ? SARMODE0_PRPWT_FS50_5:
+			  SARMODE0_PRPWT_FS155_3)
 		  | (1 * SARMODE0_CALSUP_1)
-		  | IS_FS50 (dev)?(0
+		  | (IS_FS50(dev) ? (0
 				   | SARMODE0_RXVCS_32
 				   | SARMODE0_ABRVCS_32 
 				   | SARMODE0_TXVCS_32):
 		                  (0
 				   | SARMODE0_RXVCS_1k
 				   | SARMODE0_ABRVCS_1k 
-				   | SARMODE0_TXVCS_1k));
+				   | SARMODE0_TXVCS_1k)));
 
 	/* 10ms * 100 is 1 second. That should be enough, as AN3:9 says it takes
 	   1ms. */


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] atm: add missing parentheses
  2009-02-18 12:34 ` Roel Kluin
@ 2009-02-19  3:35   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-02-19  3:35 UTC (permalink / raw)
  To: roel.kluin; +Cc: chas, netdev, akpm

From: Roel Kluin <roel.kluin@gmail.com>
Date: Wed, 18 Feb 2009 13:34:14 +0100

> Add missing parentheses
> 
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-19  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 13:29 [PATCH] atm: add missing parentheses Roel Kluin
2009-02-18 12:34 ` Roel Kluin
2009-02-19  3:35   ` David Miller

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).