OSDN Git Service

staging: greybus: loopback_test: fix poll-mask build breakage
authorJohan Hovold <johan@kernel.org>
Thu, 12 Mar 2020 11:01:49 +0000 (12:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2020 07:06:11 +0000 (08:06 +0100)
commitd72ee3fe182fdeb2f0f56df9abf77374963d1d29
treede6b88ddbcc9106c2632696d957a22e98eb6393a
parentb0dff34d80052a6e671fbe06117411bf716e0493
staging: greybus: loopback_test: fix poll-mask build breakage

commit 8f3675be4bda33adbdc1dd2ab3b6c76a7599a79e upstream.

A scripted conversion from userland POLL* to kernel EPOLL* constants
mistakingly replaced the poll flags in the loopback_test tool, which
therefore no longer builds.

Fixes: a9a08845e9ac ("vfs: do bulk POLL* -> EPOLL* replacement")
Cc: stable <stable@vger.kernel.org> # 4.16
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20200312110151.22028-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/tools/loopback_test.c