[Bug 2073479] [NEW] r8125 FTBFS with linux-hwe-6.8

Launchpad Bug Tracker 2073479 at bugs.launchpad.net
Thu Jul 18 12:49:25 UTC 2024


You have been subscribed to a public bug by Paolo Pisati (p-pisati):

[Impact]

...
/home/ubuntu/dkms/r8125/r8125-9.007.01/src/r8125_n.c: In function ‘rtl8125_get_drvinfo’:
/home/ubuntu/dkms/r8125/r8125-9.007.01/src/r8125_n.c:4441:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
 4441 |                 strlcpy(info->fw_version, rtl_fw->version,
      |                 ^~~~~~~
...

[Fix]

Apply the attached fix.

[How to test]

Install, rebuild and load the fixed package with GA and HWE kernels.

[Regression potential]

None, the fix replaces an occurrence of the deprecated strlcpy() with
strscpy().

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

** Affects: r8125 (Ubuntu Jammy)
     Importance: Undecided
         Status: New

-- 
r8125 FTBFS with linux-hwe-6.8
https://bugs.launchpad.net/bugs/2073479
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list