-
由 Andra Paraschiv 提交于
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: Nkernel test robot <lkp@intel.com> Reviewed-by: NAlexander Graf <graf@amazon.com> Signed-off-by: NAndra Paraschiv <andraprs@amazon.com> Link: https://lore.kernel.org/r/20201102173622.32169-1-andraprs@amazon.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
d9109fe0