From: Paul Moore Date: Fri, 10 Oct 2008 14:16:29 +0000 (-0400) Subject: netlabel: Fix some sparse warnings X-Git-Tag: v2.6.28-rc1~609^2~1^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=561967010edef40f539dacf2aa125e20773ab40b;p=pandora-kernel.git netlabel: Fix some sparse warnings Fix a few sparse warnings. One dealt with a RCU lock being held on error, another dealt with an improper type caused by a signed/unsigned mixup while the rest appeared to be caused by using rcu_dereference() in a list_for_each_entry_rcu() call. The latter probably isn't a big deal, but I derive a certain pleasure from knowing that the net/netlabel is nice and clean. Thanks to James Morris for pointing out the issues and demonstrating how to run sparse. Signed-off-by: Paul Moore --- Reading git-diff-tree failed