lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <d35637b26f7d5632f221e337dca2bd12c5008b86.camel@redhat.com> Date: Tue, 02 May 2023 16:57:16 +0200 From: Paolo Abeni <pabeni@...hat.com> To: Tom Rix <trix@...hat.com>, shannon.nelson@....com, brett.creeley@....com, davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] pds_core: add stub macros for pdsc_debufs_* when ! CONFIG_DEBUG_FS On Tue, 2023-05-02 at 10:52 -0400, Tom Rix wrote: > When CONFIG_DEBUG_FS is not defined there is this representative link error > ld: drivers/net/ethernet/amd/pds_core/main.o: in function `pdsc_remove': > main.c:(.text+0x35c): undefined reference to `pdsc_debugfs_del_dev > > Avoid these link errors when CONFIG_DEBUG_FS is not defined by > providing some empty macros. > > Signed-off-by: Tom Rix <trix@...hat.com> There is already a patch pending on the same topic: https://patchwork.kernel.org/user/todo/netdevbpf/?series=744165 and probably a different approach will be preferred: https://lore.kernel.org/all/84bc488b-5b4b-49ec-7e1a-3a88f92476f6@amd.com/ Cheers, Paolo
Powered by blists - more mailing lists