diff options
| author | Michael Kelley <mhklinux@outlook.com> | 2026-01-29 07:51:54 -0800 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2026-02-04 06:16:04 +0000 |
| commit | 8d1294d4b54464a6b826709c871878c80e3c219e (patch) | |
| tree | 8aa59a435d750e6808f4c09b6e009056c23d21cd /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 956efd32f9e5d258a82c086e5c18a4f5abdd10c4 (diff) | |
mshv: Use EPOLLIN and EPOLLHUP instead of POLLIN and POLLHUP
mshv code currently uses the POLLIN and POLLHUP flags. Starting with
commit a9a08845e9acb ("vfs: do bulk POLL* -> EPOLL* replacement") the
intent is to use the EPOLL* versions throughout the kernel.
The comment at the top of mshv_eventfd.c describes it as being inspired
by the KVM implementation, which was changed by the above mentioned
commit in 2018 to use EPOLL*. mshv_eventfd.c is much newer than 2018
and there's no statement as to why it must use the POLL* versions.
So change it to use the EPOLL* versions. This change also resolves
a 'sparse' warning.
No functional change, and the generated code is the same.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601220948.MUTO60W4-lkp@intel.com/
Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
