1
0
Fork 0
alistair23-linux/drivers/virt/nitro_enclaves
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
..
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
ne_misc_dev.c nitro_enclaves: Fixup type and simplify logic of the poll mask setup 2020-11-09 18:20:36 +01:00
ne_misc_dev.h
ne_pci_dev.c nitro_enclaves: Init misc device providing the ioctl interface 2020-09-22 13:58:41 +02:00
ne_pci_dev.h