OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
602b109
)
ipv4: ipconfig.c: add parentheses in an if statement
author
FX Le Bail
<fx.lebail@yahoo.com>
Mon, 10 Feb 2014 15:46:54 +0000
(16:46 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 14 Feb 2014 05:14:23 +0000
(
00:14
-0500)
Even if the 'time_before' macro expand with parentheses, the look is bad.
Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c
patch
|
blob
|
history
diff --git
a/net/ipv4/ipconfig.c
b/net/ipv4/ipconfig.c
index
efa1138
..
b3e86ea
100644
(file)
--- a/
net/ipv4/ipconfig.c
+++ b/
net/ipv4/ipconfig.c
@@
-273,7
+273,7
@@
static int __init ic_open_devs(void)
msleep(1);
- if
time_before(jiffies, next_msg
)
+ if
(time_before(jiffies, next_msg)
)
continue;
elapsed = jiffies_to_msecs(jiffies - start);