perf build warnings fixes
Status from this message: Queued the series for 5.10, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf tools: Fix a asan issue in parse_events_multi_pmu_add()tools/ | +1 | 0 replies | |
| 2/2 | perf test bpf: Address error about non-null argument for epoll_pwait 2nd argtools/ | +2 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Ian Rogers |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH stable 5.10 0/2] perf build warnings fixes
This patch series fixes the following build warnings:
tests/bpf.c: In function 'epoll_pwait_loop':tests/bpf.c:36:17: error: argument 2 null where non-null expected [-Werror=nonnull]
36 | epoll_pwait(-(i + 1), NULL, 0, 0, NULL);
| ^~~~~~~~~~~In file included from tests/bpf.c:5:../../../../per-package/linux-tools/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/sys/epoll.h:134:12:
note: in a call to function 'epoll_pwait' declared 'nonnull'
134 | extern int epoll_pwait (int __epfd, struct epoll_event*__events,
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
In function 'parse_events_term__num',
inlined from 'parse_events_multi_pmu_add' atutil/parse-events.c:1602:6:util/parse-events.c:2653:64: error: array subscript 'YYLTYPE[0]' is partly outside array bounds of 'char[8]' [-Werror=array-bounds]
2653 | .err_term = loc_term ? loc_term->first_column :
0,
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
util/parse-events.c: In function 'parse_events_multi_pmu_add':
util/parse-events.c:1587:15: note: object 'config' of size 8
1587 | char *config;
| ^~~~~~cc1: all warnings being treated as errors
Arnaldo Carvalho de Melo (1):
perf test bpf: Address error about non-null argument for epoll_pwait
2nd arg
Namhyung Kim (1):
perf tools: Fix a asan issue in parse_events_multi_pmu_add()
tools/perf/tests/bpf.c | 3 ++- tools/perf/util/parse-events.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1