uio: add missing error codes
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Apr 2016 11:04:23 +0000 (14:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2016 21:11:12 +0000 (14:11 -0700)
commit0320a278b9ef80cfa44f74b7f9bb36781695f3ee
tree1f13df91e2af7f99ca55ef9cc0c9a7b7aceeefe4
parent2fad622483707825222d2c38acb368681c75bbaa
uio: add missing error codes

My static checker complains that "ret" could be uninitialized at the
end, which is true but it's more likely that it would be set to zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c