lkml.org 
[lkml]   [2022]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build failure after merge of the usb tree
On Wed, Nov 30, 2022 at 01:18:54PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> drivers/xen/unpopulated-alloc.c:17:21: error: 'list_count' redeclared as different kind of symbol
> 17 | static unsigned int list_count;
> | ^~~~~~~~~~
> In file included from include/linux/preempt.h:11,
> from include/linux/spinlock.h:56,
> from include/linux/mmzone.h:8,
> from include/linux/gfp.h:7,
> from drivers/xen/unpopulated-alloc.c:3:
> include/linux/list.h:662:22: note: previous definition of 'list_count' with type 'size_t(struct list_head *)' {aka 'long unsigned int(struct list_head *)'}
> 662 | static inline size_t list_count(struct list_head *head)
> | ^~~~~~~~~~
>
> Caused by commit
>
> a9efc04cfd05 ("i915: Move list_count() to list.h for broader use")
>
> I have used the usb tree from next-20221129 for today.

I will cook the fix ASAP, thanks for the report!


--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2022-11-30 11:54    [W:0.049 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site