]> 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)
commitc22eaa75e3c3c11cad96ba42967c904ac2ff1644
tree00da8479bf04907e2d3639aa5ac3faac5e35fd78
parent893393bb0574cefde9dcfd9f8acdc4d3eb704124
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