Tomas Winkler e036cc5727 mei: simplify mei_open error handling
1. Perform simple checks first and only then attempt to allocate cl structure.
2. Remove open_handler_count test, this is already checked in mei_cl_link function
3. return -EMFILE instead of -ENOENT as expected by user space

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-03 16:00:52 -07:00
..
2013-10-03 16:00:52 -07:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:51:53 -08:00
2013-05-28 12:02:13 +02:00
2013-04-11 12:39:02 -07:00
2013-08-27 08:28:01 -07:00
2012-11-21 12:53:32 -08:00
2013-09-26 13:49:23 -07:00
2013-03-02 08:52:17 -06:00
2013-07-24 22:47:20 -07:00
2012-11-21 12:53:32 -08:00