summaryrefslogtreecommitdiff
path: root/drivers/char/ttyprintk.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@vmware.com>2014-01-10 04:02:33 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-10 04:16:15 +0400
commit782f24453536460482f9dd14d3677ade910b1fd1 (patch)
tree9d7fb7c6897c0f6d47637675f7e466791f3c9817 /drivers/char/ttyprintk.c
parent52cb6a205c9750353cbb58dbf7eea1e046c89819 (diff)
downloadlinux-782f24453536460482f9dd14d3677ade910b1fd1.tar.xz
VMCI: fix error handling path when registering guest driver
When host capabilities check failed or when we were unable to register doorbell bitmap we were forgetting to set error code and were returning 0 which would make upper layers believe that probe was successful. Reported-by: Julia Lawall <julia.lawall@lip6.fr> Acked-by: Andy King <acking@vmware.com> Signed-off-by: Dmitry Torokhov <dtor@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/ttyprintk.c')
0 files changed, 0 insertions, 0 deletions