diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-24 00:56:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-24 00:56:51 +0000 |
commit | 3b9654520c414ee0064ded6bc5b127280f136b28 (patch) | |
tree | 9cd8f70d8f031f448f96ffbf04046eb2a869cb41 /target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch | |
parent | cf921b2f2874acc2f5427ecff6775a1e13d760cd (diff) | |
download | mtk-20170518-3b9654520c414ee0064ded6bc5b127280f136b28.zip mtk-20170518-3b9654520c414ee0064ded6bc5b127280f136b28.tar.gz mtk-20170518-3b9654520c414ee0064ded6bc5b127280f136b28.tar.bz2 |
upgrade to linux 2.4.33.4
SVN-Revision: 5634
Diffstat (limited to 'target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch')
-rw-r--r-- | target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch b/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch index b234c70..79acf44 100644 --- a/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch +++ b/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch @@ -753,28 +753,6 @@ diff -rupN linux-2.4.32/drivers/net/arlan.h linux-2.4.32.more-gcc4-fixes-v1/driv extern int arlan_entry_debug; extern int arlan_exit_debug; extern int testMemory; -diff -rupN linux-2.4.32/drivers/net/bonding/bond_alb.c linux-2.4.32.more-gcc4-fixes-v1/drivers/net/bonding/bond_alb.c ---- linux-2.4.32/drivers/net/bonding/bond_alb.c 2004-04-14 20:22:20.000000000 +0200 -+++ linux-2.4.32.more-gcc4-fixes-v1/drivers/net/bonding/bond_alb.c 2005-11-17 13:31:16.000000000 +0100 -@@ -1275,7 +1275,7 @@ void bond_alb_deinitialize(struct bondin - int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) - { - struct bonding *bond = bond_dev->priv; -- struct ethhdr *eth_data = (struct ethhdr *)skb->mac.raw = skb->data; -+ struct ethhdr *eth_data; - struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); - struct slave *tx_slave = NULL; - static u32 ip_bcast = 0xffffffff; -@@ -1285,6 +1285,9 @@ int bond_alb_xmit(struct sk_buff *skb, s - u8 *hash_start = NULL; - int res = 1; - -+ skb->mac.raw = (unsigned char *)skb->data; -+ eth_data = (struct ethhdr *)skb->mac.raw; -+ - /* make sure that the curr_active_slave and the slaves list do - * not change during tx - */ diff -rupN linux-2.4.32/drivers/net/de4x5.c linux-2.4.32.more-gcc4-fixes-v1/drivers/net/de4x5.c --- linux-2.4.32/drivers/net/de4x5.c 2004-02-18 15:16:23.000000000 +0100 +++ linux-2.4.32.more-gcc4-fixes-v1/drivers/net/de4x5.c 2005-11-17 13:31:16.000000000 +0100 |