Skip to content

Commit 8f0d91f

Browse files
visitorckwakpm00
authored andcommitted
perf tools: update expected diff for lib/list_sort.c
Since there are no longer any header include differences between lib/list_sort.c and tools/lib/list_sort.c, update the expected diff in check-header_ignore_hunks accordingly. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kuan-Wei Chiu <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Ching-Chun (Jim) Huang <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: "Liang, Kan" <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent ff1a39c commit 8f0d91f

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

tools/perf/check-header_ignore_hunks/lib/list_sort.c

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
@@ -1,5 +1,6 @@
2-
// SPDX-License-Identifier: GPL-2.0
3-
#include <linux/kernel.h>
4-
+#include <linux/bug.h>
5-
#include <linux/compiler.h>
6-
#include <linux/export.h>
7-
#include <linux/string.h>
8-
@@ -52,6 +53,7 @@
1+
@@ -50,6 +50,7 @@
92
struct list_head *a, struct list_head *b)
103
{
114
struct list_head *tail = head;
125
+ u8 count = 0;
136

147
for (;;) {
158
/* if equal, take 'a' -- important for sort stability */
16-
@@ -77,6 +79,15 @@
9+
@@ -75,6 +76,15 @@
1710
/* Finish linking remainder of list b on to tail */
1811
tail->next = b;
1912
do {

0 commit comments

Comments
 (0)