projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f181dc
)
rt2x00: checkpatch.pl error fixes for rt2x00link.c
author
Mark Einon
<mark.einon@gmail.com>
Sat, 6 Nov 2010 14:47:09 +0000
(15:47 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:28 +0000
(13:26 -0500)
rt2x00link.c:70: ERROR: space prohibited before that close parenthesis ')'
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00link.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2x00link.c
b/drivers/net/wireless/rt2x00/rt2x00link.c
index
b971d87
..
bfda60e
100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2x00link.c
+++ b/
drivers/net/wireless/rt2x00/rt2x00link.c
@@
-67,7
+67,7
@@
(__avg).avg_weight ? \
((((__avg).avg_weight * ((AVG_SAMPLES) - 1)) + \
((__val) * (AVG_FACTOR))) / \
- (AVG_SAMPLES)
) : \
+ (AVG_SAMPLES)) : \
((__val) * (AVG_FACTOR)); \
__new.avg = __new.avg_weight / (AVG_FACTOR); \
__new; \