** Description changed:
- 1. from_timer macro renamed in v6.16-rc1 commit 41cb08555c416
- ("treewide, timers: Rename from_timer() to timer_container_of()"):
+ [ Impact ]
+
+ v4l2loopback fails to build on kernels > 6.16
+
+ from_timer macro renamed in v6.16-rc1 commit 41cb08555c416 ("treewide,
+ timers: Rename from_timer() to timer_container_of()"):
CC [M] v4l2loopback.o
v4l2loopback.c: In function 'v4l2_loopback_add':
v4l2loopback.c:2910:9: error: implicit declaration of function 'setup_timer'
[-Wimplicit-function-declaration]
2910 | setup_timer(&dev->sustain_timer, sustain_timer_clb, nr);
| ^~~~~~~~~~~
make[4]: ***
[/usr/src/linux-headers-6.16.0-1-generic/scripts/Makefile.build:287:
v4l2loopback.o] Error 1
+
+ [ Fix ]
+
+ Patch the dkms code to enable support for linux 6.16+
+
+ [ Test Plan ]
+
+ Install the latest linux-6.17 kernel on Noble:
+
+ $ sudo add-apt-repository ppa:canonical-kernel-team/ppa3
+ $ sudo apt install linux-generic-hwe-24.04-edge
+
+ Install v4l2loopback:
+
+ $ sudo apt install v4l2loopback-dkms
+
+ Module built and installed successfully
+
+ Load the module:
+
+ $ sudo modprobe v4l2loopback
+
+ Module loaded successfully
+
+ The same procedure must be repeated on linux-6.8 and linux-6.14 to test
+ for possible regressions.
+
+ [ Regression Potential ]
+
+ We may experience regressions in systems that are using the v4l2loopback
+ drivers, especially with kernels >= 6.8 kernel.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2114259
Title:
Failed to build against linux-6.16
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/2114259/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs