projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f8033
)
tty: add parenthesis to macro POLL_PERIOD in rocket.c
author
Cong Ding
<dinggnu@gmail.com>
Sat, 12 Jan 2013 04:42:07 +0000
(
05:42
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 06:49:36 +0000
(22:49 -0800)
Macros should be enclosed in parenthesis
Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/rocket.c
patch
|
blob
|
history
diff --git
a/drivers/tty/rocket.c
b/drivers/tty/rocket.c
index 8073cc0dff59ce45b68c4a9e731919bd0b6322df..69c16fc06e58b77055209a54b92267f19ad73f73 100644
(file)
--- a/
drivers/tty/rocket.c
+++ b/
drivers/tty/rocket.c
@@
-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 ******/