Skip to contentSkip to conversation

tty: add parenthesis to macro POLL_PERIOD in rocket.c

PATCH New Cong Ding 1 participant 1 message Jan 12, 2013 TTY layer and serial drivers

lore
Share & tools
lore

Cong Ding

author
#0 lore raw

PATCH 1/1 tty: add parenthesis to macro POLL_PERIOD in rocket.c

Macros should be enclosed in parenthesis

---
 drivers/tty/rocket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/rocket.c +1 -1
index e42009a..e434a79 100644
@@ -55,7 +55,7 @@
 #undef REV_PCI_ORDER
 #undef ROCKET_DEBUG_IO
 
-#define POLL_PERIOD HZ/100	/*  Polling period .01 seconds (10ms) */
+#define POLL_PERIOD (HZ/100)	/*  Polling period .01 seconds (10ms) */
 
 /****** Kernel includes ******/
 
Signature · 1 line
1.7.10.4