From: Gerrit Renker Date: Thu, 20 Nov 2008 09:03:08 +0000 (-0800) Subject: dccp: Fix bracing in dccp_feat_list_lookup. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d3e35aa78c9498eed3209c9d82376085ed0c36f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git dccp: Fix bracing in dccp_feat_list_lookup. From: Gerrit Renker Signed-off-by: David S. Miller --- diff --git a/net/dccp/feat.c b/net/dccp/feat.c index 47ce9abaf72b..2c2216f64b1b 100644 --- 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; }