Re: compile error for 5.15.4

From: Vinod Koul
Date: Sun Nov 21 2021 - 11:58:57 EST


Hello,


On 21-11-21, 16:02, Toralf Förster wrote:
> Hi,
>
> got this at a hardened stable Gentoo Server:
>
> # uname -a
> Linux mr-fox 5.14.17 #1 SMP Thu Nov 18 14:02:58 CET 2021 x86_64 AMD
> Ryzen 9 5950X 16-Core Processor AuthenticAMD GNU/Linux
>
>
> CC net/ipv4/tcp_timer.o
> CC lib/raid6/sse1.o
> drivers/dma/ptdma/ptdma-debugfs.c: In function ‘ptdma_debugfs_setup’:
> drivers/dma/ptdma/ptdma-debugfs.c:93:54: error: ‘struct dma_device’ has
> no member named ‘dbg_dev_root’
> 93 | debugfs_create_file("info", 0400,
> pt->dma_dev.dbg_dev_root, pt,

Can you please send your config file when you saw this, which toolchain
was used to compile...

Thanks

> | ^
> drivers/dma/ptdma/ptdma-debugfs.c:96:55: error: ‘struct dma_device’ has
> no member named ‘dbg_dev_root’
> 96 | debugfs_create_file("stats", 0400,
> pt->dma_dev.dbg_dev_root, pt,
> | ^
> drivers/dma/ptdma/ptdma-debugfs.c:102:52: error: ‘struct dma_device’ has
> no member named ‘dbg_dev_root’
> 102 | debugfs_create_dir("q", pt->dma_dev.dbg_dev_root);
> | ^
> make[3]: *** [scripts/Makefile.build:277:
> drivers/dma/ptdma/ptdma-debugfs.o] Error 1
> make[2]: *** [scripts/Makefile.build:540: drivers/dma/ptdma] Error 2
> make[1]: *** [scripts/Makefile.build:540: drivers/dma] Error 2
> make[1]: *** Waiting for unfinished jobs....
> CC mm/usercopy.o
> CC lib/argv_split.o
>
> --
> Toralf

--
~Vinod