Skip to contentSkip to conversation

selftests: drv-net: remove an unnecessary libmnl include

PATCH Applied Jakub Kicinski 4 participants 4 messages Feb 7, 2025 – Feb 11, 2025

Subsystems (3)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 selftests: drv-net: remove an unnecessary libmnl include

ncdevmem doesn't need libmnl, remove the unnecessary include.

Since YNL doesn't depend on libmnl either, any more, it's actually possible to build selftests without having libmnl installed.

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 tools/testing/selftests/drivers/net/hw/ncdevmem.c | 1 -
 1 file changed, 1 deletion(-)
tools/testing/selftests/drivers/net/hw/ncdevmem.c +0 -1
index 19a6969643f4..2bf14ac2b8c6 100644
@@ -50,7 +50,6 @@
 #include <linux/memfd.h>
 #include <linux/dma-buf.h>
 #include <linux/udmabuf.h>
-#include <libmnl/libmnl.h>
 #include <linux/types.h>
 #include <linux/netlink.h>
 #include <linux/genetlink.h>
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Jakub Kicinski
Quoted 12 lines · Jakub Kicinski

ncdevmem doesn't need libmnl, remove the unnecessary include.

Since YNL doesn't depend on libmnl either, any more, it's actually possible to build selftests without having libmnl installed.

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

Quoted 3 lines
---
 tools/testing/selftests/drivers/net/hw/ncdevmem.c | 1 -
 1 file changed, 1 deletion(-)
#3 lore raw
In reply to Jakub Kicinski
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Fri, 7 Feb 2025 10:31:19 -0800 you wrote:

ncdevmem doesn't need libmnl, remove the unnecessary include.

Since YNL doesn't depend on libmnl either, any more, it's actually possible to build selftests without having libmnl installed.

[...]

Here is the summary with links:
- [net-next] selftests: drv-net: remove an unnecessary libmnl include

    https://git.kernel.org/netdev/net-next/c/a980da54b6a4

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html