]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: use error codes
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 27 Mar 2015 09:56:10 +0000 (15:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:43:45 +0000 (13:43 +0200)
commit43132dac62adacc77e5a9c5d1a034be8cc751e2f
tree913b152786ca92eeba75ecf397b9e6785dda51f6
parent667998ac5f78fa67cce4a188df202b3205f2faf3
staging: unisys: use error codes

we were just returning -1 to the calling function which was again
returning that if the module failed to load. Now we are returning the
actual error codes.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/file.c