forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commitd9109fe
nitro_enclaves: Fixup type and simplify logic of the poll mask setup
Update the assigned value of the poll result to be EPOLLHUP instead ofPOLLHUP to match the __poll_t type.While at it, simplify the logic of setting the mask result of the pollfunction.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.comSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent3ed1cfb commitd9109fe
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
| 1508 | + | |
| 1509 | + | |
1512 | 1510 | | |
1513 | 1511 | | |
1514 | 1512 | | |
| |||
0 commit comments
Comments
(0)