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 (-1 / +1 lines)
Lines 6293-6299 Link Here
6293
        info->eedump_len = tp->eeprom_len;
6293
        info->eedump_len = tp->eeprom_len;
6294
        BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version));
6294
        BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version));
6295
        if (rtl_fw)
6295
        if (rtl_fw)
6296
                strlcpy(info->fw_version, rtl_fw->version,
6296
                strscpy(info->fw_version, rtl_fw->version,
6297
                        sizeof(info->fw_version));
6297
                        sizeof(info->fw_version));
6298
}
6298
}
6299
6299

Return to bug 926712