OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4bdd26
)
dccp: Fix bracing in dccp_feat_list_lookup.
author
Gerrit Renker
<gerrit@erg.abdn.ac.uk>
Thu, 20 Nov 2008 09:03:08 +0000
(
01:03
-0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 20 Nov 2008 09:03:08 +0000
(
01:03
-0800)
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.c
patch
|
blob
|
history
diff --git
a/net/dccp/feat.c
b/net/dccp/feat.c
index
47ce9ab
..
2c2216f
100644
(file)
--- a/
net/dccp/feat.c
+++ b/
net/dccp/feat.c
@@
-171,11
+171,12
@@
static struct dccp_feat_entry *dccp_feat_list_lookup(struct list_head *fn_list,
{
struct dccp_feat_entry *entry;
- list_for_each_entry(entry, fn_list, node)
+ list_for_each_entry(entry, fn_list, node)
{
if (entry->feat_num == feat_num && entry->is_local == is_local)
return entry;
else if (entry->feat_num > feat_num)
break;
+ }
return NULL;
}