Thread (10 messages) 10 messages, 4 authors, 27d ago

Re: [PATCH net 0/2] selftests: net: use KHDR_INCLUDES in CFLAGS

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-09 21:01:10
Also in: linux-kselftest, lkml, netfilter-devel

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Fri, 04 Sep 2026 18:13:01 +0200 you wrote:
KHDR_INCLUDES is typically used to include headers from the kernel
source directory instead of only relying on the ones from the host: they
can be missing or outdated. See the issue reported in [1] where users
have to set USERCFLAGS instead, which shouldn't be needed.

The kselftest doc [2] recommends assigning KHDR_INCLUDES to CFLAGS in a
target Makefile. lib.mk will set KHDR_INCLUDES to "-isystem
$(top_srcdir)/usr/include" if the user didn't set it, e.g. if the kernel
was built in a different build directory.

[...]
Here is the summary with links:
  - [net,1/2] selftests: netfilter: use KHDR_INCLUDES in CFLAGS
    https://git.kernel.org/netdev/net-next/c/9a5d20a88afb
  - [net,2/2] selftests: forwarding: use KHDR_INCLUDES in CFLAGS
    https://git.kernel.org/netdev/net-next/c/f1f4394a8bb4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help