connector: get test code working by default
authorMike Frysinger <vapier@gentoo.org>
Fri, 17 Jul 2009 17:14:26 +0000 (10:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jul 2009 17:14:26 +0000 (10:14 -0700)
commit37cf2b8d1622897cf57e70cdab9eba57feb5ff6c
treed0805cda3bcf71cc2bed8f7c51fd37f3c575ad27
parent41144ca3dda6d55b10c46d5b7d86502ccffa1c97
connector: get test code working by default

The connector test code currently does not work out of the box.  This is
because it uses a connector id that is above the registered limit.  So
rather than force people to stumble through undocumented code wondering
why it isn't working, have the test code use one of the "private" ids by
default.  While I'm in here, clean up the code (kernel and user app) so
that it's a bit more user friendly and verbose in significant things that
it does.  Terse test code wastes people time as they simply enumerate it
with all the same kind of debug messages to get a better feel of what code
is running at any time.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/connector/Makefile
Documentation/connector/cn_test.c
Documentation/connector/ucon.c