]> git.baikalelectronics.ru Git - kernel.git/commit
mei: fix fasync return value on error
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 7 Jan 2016 12:46:38 +0000 (14:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jan 2016 01:03:43 +0000 (17:03 -0800)
commit1151bd0e3b39129df54fb7b8e9d1c83a74c4161b
tree00da8479bf04907e2d3639aa5ac3faac5e35fd78
parente82476288ab45f98b1fdadfe15558717168228cb
mei: fix fasync return value on error

fasync should return a negative value on error
and not poll mask POLLERR.

Cc: <stable@vger.kernel.org> # 4.3+
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/main.c