Public bug reported:
[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
** Also affects: r8168 (Ubuntu Jammy)
Importance: Undecided
Status: New
** Description changed:
[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().
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073511
Title:
r8168 FTBFS with linux-hwe-6.8
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/r8168/+bug/2073511/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs