diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2024-09-30 20:07:28 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-10-02 17:50:44 +0000 |
| commit | cd46ea5ab48667e9522608533b9a24e3028fa368 (patch) | |
| tree | 744c6736d15c1583d3550e8778f8d7cf87bdc930 /rust/helpers/mutex.c | |
| parent | perf beauty: Update copy of linux/socket.h with the kernel sources (diff) | |
| download | kernel-cd46ea5ab48667e9522608533b9a24e3028fa368.tar.gz kernel-cd46ea5ab48667e9522608533b9a24e3028fa368.zip | |
tools check_headers.sh: Add check variant that excludes some hunks
With 6d74e1e371d43a7b ("tools/lib/list_sort: remove redundant code for
cond_resched handling") we end up with a multi-line variation in the
merge_final() implementation, one that the simple line based exceptions
we had so far can't cope.
Thus this check has been failing:
Warning: Kernel ABI header differences:
diff -u tools/lib/list_sort.c lib/list_sort.c
So add a new check routine that uses grep -vf to exclude some hunks that
we store in the tools/perf/check-header_ignore_hunks/ directory.
This first patch is just the new check routine, the next one will use it
to check lib/list_sort.c.
Acked-by: Kuan-Wei Chiu <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
