From: Stephen Hemminger Date: Sun, 22 Feb 2009 08:03:19 +0000 (-0800) Subject: snap: handle registration error and compile warning X-Git-Tag: v2.6.30-rc1~662^2~593 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0117cfabe3ba9b430c6ff6eecd4fdc569977f24f;p=pandora-kernel.git snap: handle registration error and compile warning If this module can't load, it is almost certainly because something else is already bound to that SAP. So in that case, return the same error code as other SAP usage, and fail the module load. Also fixes a compiler warning about printk of non const. Signed-off-by: Stephen Hemminger Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed