linux/drivers/staging/sbe-2t3e3
Devendra Naga a00979cccb staging: sbe-2t3e3: use -ve error return codes in dc_init_descriptor_list
the dc_init_descriptor_list actually returns a +ve error return codes,
which is abnormal as other functions in kernel return -ve error codes on
failure. so replace the return codes of this function with -ve values
to make the consistency with the other functions in kernel.

Also make the dc_init_descriptor_list static as its never called
anywhere except in this file and move the function prototype from the
headerfile into the c file as its referred only in this c file.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-21 08:57:56 -07:00
..
2t3e3.h staging: sbe-2t3e3: use -ve error return codes in dc_init_descriptor_list 2012-09-21 08:57:56 -07:00
Kconfig
Makefile
TODO
cpld.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
ctrl.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
ctrl.h
dc.c staging: sbe-2t3e3: use -ve error return codes in dc_init_descriptor_list 2012-09-21 08:57:56 -07:00
exar7250.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
exar7300.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
intr.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
io.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
main.c
maps.c
module.c staging/sbe-2t3e3: use module_pci_driver macro 2012-07-11 17:26:02 -07:00
netdev.c staging: sbe-2t3e3: fix sparse warnings 2012-09-04 14:22:48 -07:00