lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 09 Oct 2014 00:46:27 +0200 From: Ceriel Jacobs <linux-ide@...shplan.pro> To: Francois Romieu <romieu@...zoreil.com> CC: Hayes Wang <hayeswang@...ltek.com>, nic_swsd <nic_swsd@...ltek.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org> Subject: Re: r8168 is needed to enter P-state: Package State 6 (pc6)onHaswell hardware: does the patch below against current kernel make a difference? The 3.13 source was installed using "apt-get source linux-source-3.13.0" The patch hunk#2 failing issue is something in the "heredoc" notation (me trying to apply the patch without storing the patch lines as temporary input file). I am now using the temp file without any issue. The next newly blocking issue is this: # make -C /lib/modules/$(uname -r)/build M=$(pwd) modules make: Entering directory `/usr/src/linux-headers-3.17.0-031700rc7-generic' CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/8139cp.o CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/8139too.o CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/atp.o CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.o /root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.c: In function 'rtl_init_one': /root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.c:7127:2: error: implicit declaration of function 'SET_ETHTOOL_OPS' [-Werror=implicit-function-declaration] SET_ETHTOOL_OPS(dev, &rtl8169_ethtool_ops); ^ cc1: some warnings being treated as errors make[1]: *** [/root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.o] Error 1 make: *** [_module_/root/linux-3.13.0/drivers/net/ethernet/realtek] Error 2 make: Leaving directory `/usr/src/linux-headers-3.17.0-031700rc7-generic' Any new suggestion how to honour your patch/test request? Francois Romieu schreef op 09-10-14 om 00:17: > Ceriel Jacobs <linux-ide@...shplan.pro> : > [...] >> Francois, could you help me apply your patch? > > $ git describe > v3.13 > $ patch -p1 --dry-run < /tmp/plop > checking file drivers/net/ethernet/realtek/r8169.c > Hunk #1 succeeded at 467 (offset -1 lines). > Hunk #2 succeeded at 5275 (offset -5 lines). > > $ git rev-list v3.16 -- drivers/net/ethernet/realtek/r8169.c | while read x; do echo $x:$(git cat-file -p $x:drivers/net/ethernet/realtek/r8169.c | md5sum); done | grep 95056b56932b375f8b65a6379009f704 > > -> oualou > > Where does your 3.13 source tree come from ? > -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists