Re: linux-next: build warning after merge of the tip tree

Ingo Molnar
2020-01-07T07:16:11Z

* Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi all,
>
> [This has been happening for a while, I just missed it :-( ]
>
> After merging the tip tree, today's linux-next build (x86_64 allnoconfig)
> produced this warning:
>
> arch/x86/kernel/unwind_orc.c:210:12: warning: 'orc_sort_cmp' defined but not used [-Wunused-function]
> 210 | static int orc_sort_cmp(const void *_a, const void *_b)
> | ^~~~~~~~~~~~
> arch/x86/kernel/unwind_orc.c:190:13: warning: 'orc_sort_swap' defined but not used [-Wunused-function]
> 190 | static void orc_sort_swap(void *_a, void *_b, int size)
> | ^~~~~~~~~~~~~
>
> Introduced by commit
>
> f14bf6a350df ("x86/unwind/orc: Remove boot-time ORC unwind tables sorting")

Now fixed via:

22a7fa8848c5: ("x86/unwind/orc: Fix !CONFIG_MODULES build warning")

Will push it out after some testing, should go out with the next
tip:auto-latest version.

Thanks,

Ingo