diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2015-02-10 11:39:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-02 06:36:59 +0300 |
commit | 3d33ff2457355a9dd3c3178b04ab6669882b306c (patch) | |
tree | 692168d2c6df72783349246c879995212d3f7dd3 /drivers/misc/mei/amthif.c | |
parent | 3908be6f9aa5517bc717f8ffdaaafd89a1b78471 (diff) | |
download | linux-3d33ff2457355a9dd3c3178b04ab6669882b306c.tar.xz |
mei: fix device reset on mei_cl_irq_read_msg allocation failure
On memory allocation failure mei_cl_irq_read_msg will
return with error that will cause device reset.
Instead we should propagate error to caller and
just clean the read queues.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/amthif.c')
0 files changed, 0 insertions, 0 deletions