diff options
author | Tomas Winkler <[email protected]> | 2013-09-16 23:44:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-10-03 16:00:52 -0700 |
commit | e036cc5727eb6d471442d2a9218990aa11215400 (patch) | |
tree | 0eb7788e41d4631828374da6320fadd85fa1b93a /include/linux/fpga/fpga-mgr.h | |
parent | d7173493683853047d6efc8d4454c70469a7b033 (diff) |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions