Cannot compile for 6.10
Hi!
Debian Experimental have a new kernel version and it cannot compile the kernel module
cat /var/lib/dkms/tuxedo-drivers/4.5.3/build/make.log
DKMS make.log for tuxedo-drivers-4.5.3 for kernel 6.10-amd64 (x86_64)
Fri 19 Jul 05:27:12 CEST 2024
make: Entering directory '/usr/src/linux-headers-6.10-amd64'
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_wmi.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_keyboard.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/uniwill_wmi.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_8297/ite_8297.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_compatibility_check/tuxedo_compatibility_check.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_8291_lb/ite_8291_lb.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_8291/ite_8291.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_io/tuxedo_io.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_829x/ite_829x.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_keyboard.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb04/tuxedo_nb04_keyboard.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb04/tuxedo_nb04_wmi_ab.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_kbd_backlight.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb04/tuxedo_nb04_wmi_bs.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_power_profiles.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb04/tuxedo_nb04_sensors.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_ec.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb04/tuxedo_nb04_power_profiles.o
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.c:128:5: warning: no previous prototype for ‘clevo_acpi_interface_method_call’ [-Wmissing-prototypes]
128 | int clevo_acpi_interface_method_call(u8 cmd, u32 arg, union acpi_object **result_value)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.c:144:5: warning: no previous prototype for ‘clevo_acpi_interface_method_call_pkgbuf’ [-Wmissing-prototypes]
144 | int clevo_acpi_interface_method_call_pkgbuf(u8 cmd, u8 *arg, u32 length, union acpi_object **result_value)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.c:202:6: warning: no previous prototype for ‘clevo_acpi_notify’ [-Wmissing-prototypes]
202 | void clevo_acpi_notify(struct acpi_device *device, u32 event)
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.c:251:10: error: ‘struct acpi_driver’ has no member named ‘owner’
251 | .owner = THIS_MODULE,
| ^~~~~
In file included from /usr/src/linux-headers-6.10-common/include/linux/printk.h:6,
from /usr/src/linux-headers-6.10-common/include/linux/kernel.h:31,
from /var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.c:20:
/usr/src/linux-headers-6.10-common/include/linux/init.h:180:21: error: initialization of ‘const struct acpi_device_id *’ from incompatible pointer type ‘struct module *’ [-Werror=incompatible-pointer-types]
180 | #define THIS_MODULE (&__this_module)
| ^
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.c:251:18: note: in expansion of macro ‘THIS_MODULE’
251 | .owner = THIS_MODULE,
| ^~~~~~~~~~~
/usr/src/linux-headers-6.10-common/include/linux/init.h:180:21: note: (near initialization for ‘clevo_acpi_driver.ids’)
180 | #define THIS_MODULE (&__this_module)
| ^
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.c:251:18: note: in expansion of macro ‘THIS_MODULE’
251 | .owner = THIS_MODULE,
| ^~~~~~~~~~~
In file included from /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_keyboard.c:21:
/var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_keyboard_common.h:70:6: warning: no previous prototype for ‘sparse_keymap_report_known_event’ [-Wmissing-prototypes]
70 | bool sparse_keymap_report_known_event(struct input_dev *dev, unsigned int code,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_io/tuxedo_io.c:134:6: warning: no previous prototype for ‘uw_id_tdp’ [-Wmissing-prototypes]
134 | void uw_id_tdp(void)
| ^~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.10-common/scripts/Makefile.build:249: /var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_acpi.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb04/tuxedo_nb04_kbd_backlight.o
In file included from /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_keyboard.c:22:
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_keyboard.h:141:5: warning: no previous prototype for ‘clevo_evaluate_method_pkgbuf’ [-Wmissing-prototypes]
141 | int clevo_evaluate_method_pkgbuf(u8 cmd, u8 *arg, u32 length, union acpi_object **result)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:48:6: warning: no previous prototype for ‘nb05_rewrite_profile_work_handler’ [-Wmissing-prototypes]
48 | void nb05_rewrite_profile_work_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:112:5: warning: no previous prototype for ‘nb05_wmi_aa_method’ [-Wmissing-prototypes]
112 | int nb05_wmi_aa_method(u32 wmi_method_id, u64 *in, u64 *out)
| ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_keyboard.h:440:6: warning: no previous prototype for ‘clevo_fn_lock_available’ [-Wmissing-prototypes]
440 | bool clevo_fn_lock_available(void){
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_keyboard.c:23:
/var/lib/dkms/tuxedo-drivers/4.5.3/build/uniwill_keyboard.h:1154:6: warning: no previous prototype for ‘uniwill_fn_lock_available’ [-Wmissing-prototypes]
1154 | bool uniwill_fn_lock_available(void){
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_wmi.c:58:5: warning: no previous prototype for ‘clevo_wmi_interface_method_call’ [-Wmissing-prototypes]
58 | int clevo_wmi_interface_method_call(u8 cmd, u32 arg, union acpi_object **result_value)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/clevo_wmi.c:63:5: warning: no previous prototype for ‘clevo_wmi_interface_method_call_pkgbuf’ [-Wmissing-prototypes]
63 | int clevo_wmi_interface_method_call_pkgbuf(u8 cmd, u8 *arg, u32 length, union acpi_object **result_value)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/uniwill_wmi.c:252:5: warning: no previous prototype for ‘uw_wmi_read_ec_ram’ [-Wmissing-prototypes]
252 | int uw_wmi_read_ec_ram(u16 addr, u8 *data)
| ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/uniwill_wmi.c:274:5: warning: no previous prototype for ‘uw_wmi_write_ec_ram’ [-Wmissing-prototypes]
274 | int uw_wmi_write_ec_ram(u16 addr, u8 data)
| ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_8291_lb/ite_8291_lb.c:453:6: warning: no previous prototype for ‘leds_set_brightness_mc_lightbar’ [-Wmissing-prototypes]
453 | void leds_set_brightness_mc_lightbar(struct led_classdev *led_cdev, enum led_brightness brightness) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_8291/ite_8291.c:449:6: warning: no previous prototype for ‘leds_set_brightness_mc’ [-Wmissing-prototypes]
449 | void leds_set_brightness_mc (struct led_classdev *led_cdev, enum led_brightness brightness) {
| ^~~~~~~~~~~~~~~~~~~~~~
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_sensors.o
CC [M] /var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb05/tuxedo_nb05_fan_control.o
/var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_829x/ite_829x.c:106:6: warning: no previous prototype for ‘keyb_set_all’ [-Wmissing-prototypes]
106 | void keyb_set_all(struct hid_device *dev, u8 color_red, u8 color_green, u8 color_blue)
| ^~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_829x/ite_829x.c:197:6: warning: no previous prototype for ‘leds_set_brightness_mc’ [-Wmissing-prototypes]
197 | void leds_set_brightness_mc(struct led_classdev *led_cdev, enum led_brightness brightness) {
| ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/ite_829x/ite_829x.c:243:6: warning: no previous prototype for ‘ite_829x_key_work_handler’ [-Wmissing-prototypes]
243 | void ite_829x_key_work_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.5.3/build/tuxedo_nb04/tuxedo_nb04_kbd_backlight.c:38:6: warning: no previous prototype for ‘leds_set_brightness_mc_keyboard’ [-Wmissing-prototypes]
38 | void leds_set_brightness_mc_keyboard(struct led_classdev *led_cdev, enum led_brightness brightness)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/usr/src/linux-headers-6.10-common/Makefile:1959: /var/lib/dkms/tuxedo-drivers/4.5.3/build] Error 2
make: *** [/usr/src/linux-headers-6.10-common/Makefile:252: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.10-amd64'