Go to file
Benjamin Tissoires 8b2124d415 samples/hid: fix broken vmlinux path for VMLINUX_BTF
JIRA: https://issues.redhat.com/browse/RHEL-101770
Upstream Status: since v6.14
Tested: with the hid-tools test suite and some hardware

commit 8b125949df58a00e8797c6e6d3f3d3dc08f4d939
Author: Jinghao Jia <jinghao7@illinois.edu>
Date:   Mon Feb 3 02:55:06 2025 -0600

    samples/hid: fix broken vmlinux path for VMLINUX_BTF

    Commit 13b25489b6f8 ("kbuild: change working directory to external
    module directory with M=") changed kbuild working directory of hid-bpf
    sample programs to samples/hid, which broke the vmlinux path for
    VMLINUX_BTF, as the Makefiles assume the current work directory to be
    the kernel output directory and use a relative path (i.e., ./vmlinux):

      Makefile:173: *** Cannot find a vmlinux for VMLINUX_BTF at any of "  /path/to/linux/samples/hid/vmlinux", build the kernel or set VMLINUX_BTF or VMLINUX_H variable.  Stop.

    Correctly refer to the kernel output directory using $(objtree).

    Fixes: 13b25489b6f8 ("kbuild: change working directory to external module directory with M=")
    Tested-by: Ruowen Qin <ruqin@redhat.com>
    Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
    Suggested-by: Andrii Nakryiko <andrii@kernel.org>
    Signed-off-by: Jinghao Jia <jinghao7@illinois.edu>
    Link: https://patch.msgid.link/20250203085506.220297-4-jinghao7@illinois.edu
    Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2025-08-12 17:20:21 +02:00
Documentation HID: corsair-void: Add Corsair Void headset family driver 2025-08-12 17:20:08 +02:00
LICENSES
arch Merge: update drivers/cpufreq to match upstream v6.15 2025-08-05 20:09:07 -04:00
block
certs
crypto
drivers HID: topre: Fix n-key rollover on Realforce R3S TKL boards 2025-08-12 17:20:21 +02:00
fs
include HID: hid-asus: Disable OOBE mode on the ProArt P16 2025-08-12 17:20:19 +02:00
init
io_uring
ipc
kernel
lib
mm
net Merge: net/sched: phase-2 backports for RHEL-10.1 2025-08-07 20:11:08 -04:00
redhat [redhat] kernel-6.12.0-119.el10 2025-08-07 20:11:13 -04:00
rust
samples samples/hid: fix broken vmlinux path for VMLINUX_BTF 2025-08-12 17:20:21 +02:00
scripts
security
sound
tools selftests/hid: Add host-tools to .gitignore 2025-08-12 17:20:13 +02:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS
Makefile
Makefile.rhelver [redhat] kernel-6.12.0-119.el10 2025-08-07 20:11:13 -04:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.