[Bug 2073511] [NEW] r8168 FTBFS with linux-hwe-6.8

Launchpad Bug Tracker 2073511 at bugs.launchpad.net
Thu Jul 18 13:24:50 UTC 2024


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

[Impact]

...
/home/ubuntu/dkms/r8168/r8168-8.049.02/src/r8168_n.c: In function ‘rtl8168_get_drvinfo’:
/home/ubuntu/dkms/r8168/r8168-8.049.02/src/r8168_n.c:5124:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
 5124 |                 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: r8168 (Ubuntu)
     Importance: Undecided
         Status: New

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

-- 
r8168 FTBFS with linux-hwe-6.8
https://bugs.launchpad.net/bugs/2073511
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