anntotate the places where ->poll() return values go

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2017-07-03 22:25:56 -04:00
commit e6c8adca20
12 changed files with 15 additions and 14 deletions

View file

@ -113,7 +113,7 @@ int vfio_virqfd_enable(void *opaque,
struct eventfd_ctx *ctx;
struct virqfd *virqfd;
int ret = 0;
unsigned int events;
__poll_t events;
virqfd = kzalloc(sizeof(*virqfd), GFP_KERNEL);
if (!virqfd)