Re: Tinyconfig: include/linux/blkdev.h:1692:17: error: field has incomplete type 'struct rq_list'

From: Arnd Bergmann
Date: Fri Nov 15 2024 - 07:24:52 EST


On Fri, Nov 15, 2024, at 13:19, Naresh Kamboju wrote:
> The tinyconfig builds failed with clang-19 and gcc-13 on the Linux
>
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> Build log:
> ---------
> In file included from init/main.c:85:
> include/linux/blkdev.h:1692:17: error: field has incomplete type
> 'struct rq_list'
> 1692 | struct rq_list req_list;
> | ^
> include/linux/blkdev.h:1692:9: note: forward declaration of 'struct rq_list'
> 1692 | struct rq_list req_list;
> | ^

Nathan already sent a patch, see

https://lore.kernel.org/all/20241114201103.GA2036469@thelio-3990X/

Arnd