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-09-29 18:27:03 -07:00
2013-10-03 16:00:52 -07:00
2013-09-29 18:27:03 -07:00
2013-04-11 12:39:01 -07:00
2013-09-29 18:27:03 -07:00
2013-06-17 16:43:09 -07:00
2013-01-08 16:40:45 -08:00
2013-08-12 15:46:06 -07:00
2013-03-15 11:10:48 -07:00
2013-09-26 13:56:53 -07:00
2013-03-29 08:32:21 -07:00
2013-10-03 16:00:52 -07:00
2013-04-10 18:56:53 -07:00
2013-06-13 22:31:06 -07:00