OSDN Git Service

mei: replace POLL* with EPOLL* for write queues.
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 28 Sep 2018 20:27:48 +0000 (23:27 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:39:59 +0000 (15:39 -0700)
commit03b2cbb6ea3c73e08fcf72d9ef8e286c4dcbd1fe
tree25c6f6c77920adbc7676b38183d054243a8e396f
parent6011002c1584d29c317e0895b9667d57f254537a
mei: replace POLL* with EPOLL* for write queues.

Looks like during merging the bulk POLL* -> EPOLL* replacement
missed the patch
'commit af336cabe083 ("mei: limit the number of queued writes")'

Fix sparse warning:
drivers/misc/mei/main.c:602:13: warning: restricted __poll_t degrades to integer
drivers/misc/mei/main.c:605:30: warning: invalid assignment: |=
drivers/misc/mei/main.c:605:30:    left side has type restricted __poll_t
drivers/misc/mei/main.c:605:30:    right side has type int

Fixes: af336cabe083 ("mei: limit the number of queued writes")
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/main.c