Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 887478 Details for
Bug 926712
net-misc/r8168-8.052.01 fails to build with kernel 6.8.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
conditional patch
r8168-strlcpy-kernel-6.8+-only.patch (text/plain), 637 bytes, created by
CaptainBlood
on 2024-03-12 12:10:22 UTC
(
hide
)
Description:
conditional patch
Filename:
MIME Type:
Creator:
CaptainBlood
Created:
2024-03-12 12:10:22 UTC
Size:
637 bytes
patch
obsolete
>--- a/src/r8168_n.c 2024-03-12 12:28:22.629850522 +0300 >+++ b/src/r8168_n.c 2024-03-12 12:33:55.459838110 +0300 >@@ -5226,8 +5226,13 @@ > info->eedump_len = tp->eeprom_len; > BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version)); > if (rtl_fw) >- strlcpy(info->fw_version, rtl_fw->version, >- sizeof(info->fw_version)); >+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,8,0) >+ strlcpy(info->fw_version, rtl_fw->version, >+ sizeof(info->fw_version)); >+#else >+ strscpy(info->fw_version, rtl_fw->version, >+ sizeof(info->fw_version)); >+#endif > } > > static int
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 926712
:
887277
|
887468
|
887469
|
887473
| 887478