Skip to content
Commit a758b7c4 authored by Yejune Deng's avatar Yejune Deng Committed by Greg Kroah-Hartman
Browse files

virt: acrn: Use EPOLLIN instead of POLLIN

This fixes the following sparse warning:
"sparse warnings: (new ones prefixed by >>)"
>> drivers/virt/acrn/irqfd.c:163:13: sparse: sparse: restricted __poll_t
 degrades to integer

Fixes: dcf9625f

 ("virt: acrn: Use vfs_poll() instead of f_op->poll()")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Acked-by: default avatarShuo Liu <shuo.a.liu@intel.com>
Signed-off-by: default avatarYejune Deng <yejune.deng@gmail.com>
Link: https://lore.kernel.org/r/20210310074901.7486-1-yejune.deng@gmail.com
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dcf9625f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment