6.2 Module Build - all good except for nvidia-390xx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux