mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
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/20241012042828.471614-4-visitorckw@gmail.com Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Ching-Chun (Jim) Huang <jserv@ccns.ncku.edu.tw> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: "Liang, Kan" <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
ff1a39c3f8
commit
8f0d91f410
@ -1,11 +1,4 @@
|
|||||||
@@ -1,5 +1,6 @@
|
@@ -50,6 +50,7 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
|
||||||
#include <linux/kernel.h>
|
|
||||||
+#include <linux/bug.h>
|
|
||||||
#include <linux/compiler.h>
|
|
||||||
#include <linux/export.h>
|
|
||||||
#include <linux/string.h>
|
|
||||||
@@ -52,6 +53,7 @@
|
|
||||||
struct list_head *a, struct list_head *b)
|
struct list_head *a, struct list_head *b)
|
||||||
{
|
{
|
||||||
struct list_head *tail = head;
|
struct list_head *tail = head;
|
||||||
@ -13,7 +6,7 @@
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
/* if equal, take 'a' -- important for sort stability */
|
/* if equal, take 'a' -- important for sort stability */
|
||||||
@@ -77,6 +79,15 @@
|
@@ -75,6 +76,15 @@
|
||||||
/* Finish linking remainder of list b on to tail */
|
/* Finish linking remainder of list b on to tail */
|
||||||
tail->next = b;
|
tail->next = b;
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user