Messages in this thread | | | Subject | Re: [PATCH] pds_core: add stub macros for pdsc_debufs_* when ! CONFIG_DEBUG_FS | From | Paolo Abeni <> | Date | Tue, 02 May 2023 16:57:16 +0200 |
| |
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@redhat.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
| |