Files
nvdriver/kernel-open/nvidia
TheWeakShall b8c7680284 kernel-open: probe class_create/devnode signatures (RHEL 9 5.14 build) (#552)
a2707a4 guards class_create(name) and the const-device class.devnode
callback in rmapi_node.c with LINUX_VERSION_CODE >= 6.4 / 6.2. RHEL 9
backports both to 5.14, so the #else branch is taken there and the
module fails to build (-Werror=incompatible-pointer-types, too many
arguments to class_create).

Probe include/linux/device/class.h in compat_probes.mk instead, keeping
the version check as the fallback for unprobed (host-fixture) builds,
and record the guard in docs/KERNEL_COMPAT.md.

Co-authored-by: TheWeakShall <22898767+TheWeakShall@users.noreply.github.com>
2026-12-04 16:15:23 -08:00
..