aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLuc Van Oostenryck <[email protected]>2019-11-21 15:48:51 +1030
committerOlof Johansson <[email protected]>2019-12-05 10:10:08 -0800
commita4e55ccd4392e70f296d12e81b93c6ca96ee21d5 (patch)
treed6489de9f40c910d4d253c936c1ddec9d8c86a58 /tools/perf/util/scripting-engines/trace-event-python.c
parent17746b7af95ead9c4718eda4a441955a92eae97e (diff)
soc: aspeed: Fix snoop_file_poll()'s return type
snoop_file_poll() is defined as returning 'unsigned int' but the .poll method is declared as returning '__poll_t', a bitwise type. Fix this by using the proper return type and using the EPOLL constants instead of the POLL ones, as required for __poll_t. Link: https://lore.kernel.org/r/[email protected] Fixes: 3772e5da4454 ("drivers/misc: Aspeed LPC snoop output using misc chardev") Signed-off-by: Luc Van Oostenryck <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Joel Stanley <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions