All,
Follow-up from a recent thread on 6.2 kernel module builds. All Arch
package modules built fine, as did 6.1 branch of virtualbox. However the
nvidia-390xx driver fails to build with:
nv-gpu-numa.c:232:47: warning: cast between incompatible function types from
XXX to YYY (long type salad omitted)
232 | nv_dir_context_t ats_ctx = { .ctx.actor =
(filldir_t)filldir_get_memblock_id };
nv-acpi.c:77:19: error: initialization of ‘void (*)(struct acpi_device *)’
from incompatible pointer type ‘int (*)(struct acpi_device *, int)’
[-Werror=incompatible-pointer-types]
77 | .remove = nv_acpi_remove_two_args,
The upside is it is a -Werror trip of a warning into an error so there may
be a path to work around from a compiler option standpoint, but I've yet to
look into that or an actual patch yet.
--
David C. Rankin, J.D.,P.E.