From: Cong Wang Date: Tue, 22 Jan 2013 21:29:39 +0000 (+0000) Subject: netpoll: add RCU annotation to npinfo field X-Git-Tag: v3.9-rc1~139^2~241 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fbee843c32e5de2d8af68ba0bdd113bb0af9d86;p=pandora-kernel.git netpoll: add RCU annotation to npinfo field dev->npinfo is protected by RCU. This fixes the following sparse warnings: net/core/netpoll.c:177:48: error: incompatible types in comparison expression (different address spaces) net/core/netpoll.c:200:35: error: incompatible types in comparison expression (different address spaces) net/core/netpoll.c:221:35: error: incompatible types in comparison expression (different address spaces) net/core/netpoll.c:327:18: error: incompatible types in comparison expression (different address spaces) Cc: Eric Dumazet Cc: David S. Miller Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed