OpenCloudOS-Kernel/net/802
Stephen Hemminger 0117cfabe3 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 <shemminger@vyatta.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-02-22 19:54:47 -08:00
..
Kconfig net: Add GARP applicant-only participant 2008-07-05 21:26:13 -07:00
Makefile net: Add GARP applicant-only participant 2008-07-05 21:26:13 -07:00
fc.c net/802/fc.c: Fix compilation warnings 2008-10-15 00:13:53 -07:00
fddi.c fddi: convert to new network device ops 2008-11-20 20:29:48 -08:00
garp.c garp: retry sending JoinIn messages after allocation failures 2008-07-16 20:51:47 -07:00
hippi.c hippi: convert driver to net_device_ops 2008-11-20 20:32:15 -08:00
p8022.c [LLC]: Use refcounting with struct llc_sap 2005-09-22 04:43:05 -03:00
p8023.c [NET]: Wrap netdevice hardware header creation. 2007-10-10 16:52:50 -07:00
psnap.c snap: handle registration error and compile warning 2009-02-22 19:54:47 -08:00
stp.c net: Add STP demux layer 2008-07-05 21:25:39 -07:00
tr.c net: '&' redux 2008-11-03 18:21:05 -08:00