Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 926712 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/r8168_n.c (-2 / +7 lines)
Lines 5226-5233 Link Here
5226
        info->eedump_len = tp->eeprom_len;
5226
        info->eedump_len = tp->eeprom_len;
5227
        BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version));
5227
        BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version));
5228
        if (rtl_fw)
5228
        if (rtl_fw)
5229
                strlcpy(info->fw_version, rtl_fw->version,
5229
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,8,0)
5230
                        sizeof(info->fw_version));
5230
					strscpy(info->fw_version, rtl_fw->version,
5231
									sizeof(info->fw_version));
5232
#else
5233
				strlcpy(info->fw_version, rtl_fw->version,
5234
								sizeof(info->fw_version));
5235
#fi
5231
}
5236
}
5232
5237
5233
static int
5238
static int

Return to bug 926712