linux_kernel/drivers/virt
Andra Paraschiv d9109fe0f3 nitro_enclaves: Fixup type and simplify logic of the poll mask setup
Update the assigned value of the poll result to be EPOLLHUP instead of
POLLHUP to match the __poll_t type.

While at it, simplify the logic of setting the mask result of the poll
function.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Signed-off-by: Andra Paraschiv <andraprs@amazon.com>
Link: https://lore.kernel.org/r/20201102173622.32169-1-andraprs@amazon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-09 18:20:36 +01:00
..
nitro_enclaves nitro_enclaves: Fixup type and simplify logic of the poll mask setup 2020-11-09 18:20:36 +01:00
vboxguest virt: vbox: simplify the return expression of vbg_input_open() 2020-10-02 11:36:13 +02:00
fsl_hypervisor.c drivers/virt/fsl_hypervisor: Fix error handling path 2020-09-07 14:57:31 +02:00
Kconfig nitro_enclaves: Add Kconfig for the Nitro Enclaves driver 2020-09-22 13:58:41 +02:00
Makefile nitro_enclaves: Add Makefile for the Nitro Enclaves driver 2020-09-22 13:58:41 +02:00