From: Eric Dumazet Date: Wed, 20 Jun 2012 04:02:10 +0000 (+0000) Subject: inetpeer: inetpeer_invalidate_tree() cleanup X-Git-Tag: v3.6-rc1~125^2~473 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da55737467c1c3bc02271039c088171d82e0796f;p=pandora-kernel.git inetpeer: inetpeer_invalidate_tree() cleanup No need to use cmpxchg() in inetpeer_invalidate_tree() since we hold base lock. Also use correct rcu annotations to remove sparse errors (CONFIG_SPARSE_RCU_POINTER=y) net/ipv4/inetpeer.c:144:19: error: incompatible types in comparison expression (different address spaces) net/ipv4/inetpeer.c:149:20: error: incompatible types in comparison expression (different address spaces) net/ipv4/inetpeer.c:595:10: error: incompatible types in comparison expression (different address spaces) Signed-off-by: Eric Dumazet Cc: Steffen Klassert Signed-off-by: David S. Miller --- Reading git-diff-tree failed