Package: sl-modem-dkms
Version: 2.9.11~20110321-19
Severity: serious
Tags: upstream

Since Linux v6.12-rc1 no_llseek is finally gone, causing the module build
to fail.

The corresponding Linux commit is "[tree-wide] finally take no_llseek out"
https://github.com/torvalds/linux/commit/cb787f4ac0c2e439ea8d7e6387b925f74576bdf8

The fix is probably as simple as
  sed -i /no_llseek/d drivers/st7554.c


DKMS make.log for sl-modem/2.9.11~20110321 for kernel 6.12.3-amd64 (x86_64)
Sat Dec  7 23:29:28 UTC 2024
make: Entering directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
        obj-m= slusb.o
        slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
make modules -C /lib/modules/6.12.3-amd64/build 
M=/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers
make[1]: Entering directory '/usr/src/linux-headers-6.12.3-amd64'
  CC [M]  /var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/st7554.o
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/st7554.c:1047:20: error: 
'no_llseek' undeclared here (not in a function); did you mean 'noop_llseek'?
 1047 |         .llseek =  no_llseek,
      |                    ^~~~~~~~~
      |                    noop_llseek
make[3]: *** [/usr/src/linux-headers-6.12.3-common/scripts/Makefile.build:234: 
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/st7554.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.12.3-common/Makefile:1961: 
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers] Error 2
make[1]: *** [/usr/src/linux-headers-6.12.3-common/Makefile:236: __sub-make] 
Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.12.3-amd64'
make: *** [Makefile:138: all] Error 2
make: Leaving directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'


Andreas

Reply via email to