From: Tomas Winkler Date: Mon, 16 Sep 2013 20:44:46 +0000 (+0300) Subject: mei: simplify mei_open error handling X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~65^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e036cc5727eb6d471442d2a9218990aa11215400;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed