Public bug reported:

[ Impact ]

DKMS make.log for openrazer-driver-3.7.0 for kernel 6.14.0-15-generic (x86_64)
Tue May 20 13:50:17 UTC 2025
-e 
:: Compiling OpenRazer kernel modules
========================================
make -C /lib/modules/6.14.0-15-generic/build 
M=/var/lib/dkms/openrazer-driver/3.7.0/build/driver modules
make[1]: Entering directory '/usr/src/linux-headers-6.14.0-15-generic'
make[2]: Entering directory '/var/lib/dkms/openrazer-driver/3.7.0/build/driver'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  CC [M]  razerkbd_driver.o
  CC [M]  razercommon.o
  CC [M]  razerchromacommon.o
razerchromacommon.c:208:21: warning: no previous prototype for 
‘razer_chroma_standard_matrix_effect_base’ [-Wmissing-prototypes]
  208 | struct razer_report razer_chroma_standard_matrix_effect_base(unsigned 
char arg_size, unsigned char effect_id)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
razerchromacommon.c:481:21: warning: no previous prototype for 
‘razer_chroma_extended_matrix_effect_base’ [-Wmissing-prototypes]
  481 | struct razer_report razer_chroma_extended_matrix_effect_base(unsigned 
char arg_size, unsigned char variable_storage, unsigned char led_id, unsigned 
char effect_id)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
razerchromacommon.c:784:21: warning: no previous prototype for 
‘razer_chroma_mouse_extended_matrix_effect_base’ [-Wmissing-prototypes]
  784 | struct razer_report 
razer_chroma_mouse_extended_matrix_effect_base(unsigned char arg_size, unsigned 
char variable_storage, unsigned char led_id, unsigned char effect_id)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
razerchromacommon.c:1554:21: warning: no previous prototype for 
‘razer_chroma_misc_get_hyperpolling_wireless_dongle_indicator_led_mode’ 
[-Wmissing-prototypes]
 1554 | struct razer_report 
razer_chroma_misc_get_hyperpolling_wireless_dongle_indicator_led_mode(void)
      |                     
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  LD [M]  razerkbd.o
  CC [M]  razermouse_driver.o
razermouse_driver.c:4268:5: warning: no previous prototype for 
‘mouse_button_to_usage’ [-Wmissing-prototypes]
 4268 | u32 mouse_button_to_usage(__u16 code)
      |     ^~~~~~~~~~~~~~~~~~~~~
razermouse_driver.c:4277:6: warning: no previous prototype for 
‘input_button_msc_scan’ [-Wmissing-prototypes]
 4277 | void input_button_msc_scan(struct input_dev *input, __u16 button)
      |      ^~~~~~~~~~~~~~~~~~~~~
razermouse_driver.c:4286:6: warning: no previous prototype for 
‘input_rep4_code’ [-Wmissing-prototypes]
 4286 | void input_rep4_code(struct input_dev *input, u8 code, __s32 value)
      |      ^~~~~~~~~~~~~~~
razermouse_driver.c:4349:23: warning: no previous prototype for 
‘find_intf_with_proto’ [-Wmissing-prototypes]
 4349 | struct usb_interface *find_intf_with_proto(struct usb_device *usbdev, 
u8 proto)
      |                       ^~~~~~~~~~~~~~~~~~~~
razermouse_driver.c: In function ‘find_mouse’:
razermouse_driver.c:4379:65: error: passing argument 3 of ‘device_find_child’ 
from incompatible pointer type [-Werror=incompatible-pointer-types]
 4379 |     dev = device_find_child(&m_intf->dev, (void *)hid_bus_type, 
dev_is_on_bus);
      |                                                                 
^~~~~~~~~~~~~
      |                                                                 |
      |                                                                 int 
(*)(struct device *, void *)
In file included from 
/usr/src/linux-headers-6.14.0-15-generic/include/linux/usb.h:19,
                 from 
/usr/src/linux-headers-6.14.0-15-generic/include/linux/usb/input.h:9,
                 from razermouse_driver.c:10:
/usr/src/linux-headers-6.14.0-15-generic/include/linux/device.h:1101:49: note: 
expected ‘device_match_t’ {aka ‘int (*)(struct device *, const void *)’} but 
argument is of type ‘int (*)(struct device *, void *)’
 1101 |                                  device_match_t match);
      |                                  ~~~~~~~~~~~~~~~^~~~~
cc1: some warnings being treated as errors
make[4]: *** 
[/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: 
razermouse_driver.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: 
__sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/openrazer-driver/3.7.0/build/driver'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic'
make: *** [Makefile:38: driver] Error 2

[ Test case ]

Install the latest linux-6.14 kernel on Noble:

$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt install linux-generic-hwe-24.04-wip

Install openrazer-driver-dkms

$ sudo apt install openrazer-driver-dkms

Load the module:

$ sudo modprobe

The same procedure can be repeated on linux-6.8 to test for possible
regressions.

[ Fix ]

[ Regression potential ]

We may experience regressions in systems that are using the openrazer
drivers, especially with kernels >= 6.8 kernel.

** Affects: openrazer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111339

Title:
  openrazer-driver-dkms FTBS in Noble with the linux-6.14-hwe kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openrazer/+bug/2111339/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to