]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
isdn/capi: Return proper errnos on module init.
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Thu, 15 May 2008 06:30:06 +0000 (23:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2008 06:30:06 +0000 (23:30 -0700)
commit066b2118976e6e7cc50eed39e2747c75343a23c4
treeecf0fc1da7278665b39c5f77438032dd18457c76
parentffd8211fb18e1052b2d9eded629cc3c0b872d06a
isdn/capi: Return proper errnos on module init.

cdebug_init() is called from kcapi_init() which is module
initialization function, so it must return negative values on errors.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capiutil.c