kernel: bump kernel 4.4 to 4.4.131 for 17.01
* Refreshed patches Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>
This commit is contained in:
		 Etienne Haarsma
					Etienne Haarsma
				
			
				
					committed by
					
						 John Crispin
						John Crispin
					
				
			
			
				
	
			
			
			 John Crispin
						John Crispin
					
				
			
						parent
						
							999bb66b20
						
					
				
				
					commit
					e8b1af45f8
				
			| @@ -3,10 +3,10 @@ | |||||||
| LINUX_RELEASE?=1 | LINUX_RELEASE?=1 | ||||||
|  |  | ||||||
| LINUX_VERSION-3.18 = .43 | LINUX_VERSION-3.18 = .43 | ||||||
| LINUX_VERSION-4.4 = .129 | LINUX_VERSION-4.4 = .131 | ||||||
|  |  | ||||||
| LINUX_KERNEL_HASH-3.18.43 = 1236e8123a6ce537d5029232560966feed054ae31776fe8481dd7d18cdd5492c | LINUX_KERNEL_HASH-3.18.43 = 1236e8123a6ce537d5029232560966feed054ae31776fe8481dd7d18cdd5492c | ||||||
| LINUX_KERNEL_HASH-4.4.129 = a165c4bada6a8d2355727ef6c97669e8c87c48f28bb410af34741c87fcf4712b | LINUX_KERNEL_HASH-4.4.131 = 65127add35c45acda866d10860e80bfdcc19b6c21e30e5dc9b92020a44d7c709 | ||||||
|  |  | ||||||
| ifdef KERNEL_PATCHVER | ifdef KERNEL_PATCHVER | ||||||
|   LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER))) |   LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER))) | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| --- a/drivers/mtd/chips/cfi_cmdset_0002.c | --- a/drivers/mtd/chips/cfi_cmdset_0002.c | ||||||
| +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | ||||||
| @@ -1632,8 +1632,8 @@ static int __xipram do_write_oneword(str | @@ -1633,8 +1633,8 @@ static int __xipram do_write_oneword(str | ||||||
|  			break; |  			break; | ||||||
|  		} |  		} | ||||||
|   |   | ||||||
| @@ -11,7 +11,7 @@ | |||||||
|   |   | ||||||
|  		/* Latency issues. Drop the lock, wait a while and retry */ |  		/* Latency issues. Drop the lock, wait a while and retry */ | ||||||
|  		UDELAY(map, chip, adr, 1); |  		UDELAY(map, chip, adr, 1); | ||||||
| @@ -1649,6 +1649,8 @@ static int __xipram do_write_oneword(str | @@ -1650,6 +1650,8 @@ static int __xipram do_write_oneword(str | ||||||
|   |   | ||||||
|  		ret = -EIO; |  		ret = -EIO; | ||||||
|  	} |  	} | ||||||
| @@ -20,7 +20,7 @@ | |||||||
|  	xip_enable(map, chip, adr); |  	xip_enable(map, chip, adr); | ||||||
|   op_done: |   op_done: | ||||||
|  	if (mode == FL_OTP_WRITE) |  	if (mode == FL_OTP_WRITE) | ||||||
| @@ -2227,7 +2229,6 @@ static int cfi_amdstd_panic_write(struct | @@ -2228,7 +2230,6 @@ static int cfi_amdstd_panic_write(struct | ||||||
|  	return 0; |  	return 0; | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -28,7 +28,7 @@ | |||||||
|  /* |  /* | ||||||
|   * Handle devices with one erase region, that only implement |   * Handle devices with one erase region, that only implement | ||||||
|   * the chip erase command. |   * the chip erase command. | ||||||
| @@ -2291,8 +2292,8 @@ static int __xipram do_erase_chip(struct | @@ -2293,8 +2294,8 @@ static int __xipram do_erase_chip(struct | ||||||
|  			chip->erase_suspended = 0; |  			chip->erase_suspended = 0; | ||||||
|  		} |  		} | ||||||
|   |   | ||||||
| @@ -39,7 +39,7 @@ | |||||||
|   |   | ||||||
|  		if (time_after(jiffies, timeo)) { |  		if (time_after(jiffies, timeo)) { | ||||||
|  			printk(KERN_WARNING "MTD %s(): software timeout\n", |  			printk(KERN_WARNING "MTD %s(): software timeout\n", | ||||||
| @@ -2312,6 +2313,7 @@ static int __xipram do_erase_chip(struct | @@ -2314,6 +2315,7 @@ static int __xipram do_erase_chip(struct | ||||||
|  		ret = -EIO; |  		ret = -EIO; | ||||||
|  	} |  	} | ||||||
|   |   | ||||||
| @@ -47,7 +47,7 @@ | |||||||
|  	chip->state = FL_READY; |  	chip->state = FL_READY; | ||||||
|  	xip_enable(map, chip, adr); |  	xip_enable(map, chip, adr); | ||||||
|  	DISABLE_VPP(map); |  	DISABLE_VPP(map); | ||||||
| @@ -2380,9 +2382,9 @@ static int __xipram do_erase_oneblock(st | @@ -2383,9 +2385,9 @@ static int __xipram do_erase_oneblock(st | ||||||
|  			chip->erase_suspended = 0; |  			chip->erase_suspended = 0; | ||||||
|  		} |  		} | ||||||
|   |   | ||||||
| @@ -59,7 +59,7 @@ | |||||||
|  		} |  		} | ||||||
|   |   | ||||||
|  		if (time_after(jiffies, timeo)) { |  		if (time_after(jiffies, timeo)) { | ||||||
| @@ -2404,6 +2406,7 @@ static int __xipram do_erase_oneblock(st | @@ -2407,6 +2409,7 @@ static int __xipram do_erase_oneblock(st | ||||||
|  		ret = -EIO; |  		ret = -EIO; | ||||||
|  	} |  	} | ||||||
|   |   | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ | |||||||
|   |   | ||||||
|  /* Atmel chips don't use the same PRI format as AMD chips */ |  /* Atmel chips don't use the same PRI format as AMD chips */ | ||||||
|  static void fixup_convert_atmel_pri(struct mtd_info *mtd) |  static void fixup_convert_atmel_pri(struct mtd_info *mtd) | ||||||
| @@ -1791,6 +1795,7 @@ static int cfi_amdstd_write_words(struct | @@ -1792,6 +1796,7 @@ static int cfi_amdstd_write_words(struct | ||||||
|  /* |  /* | ||||||
|   * FIXME: interleaved mode not tested, and probably not supported! |   * FIXME: interleaved mode not tested, and probably not supported! | ||||||
|   */ |   */ | ||||||
| @@ -43,7 +43,7 @@ | |||||||
|  static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, |  static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, | ||||||
|  				    unsigned long adr, const u_char *buf, |  				    unsigned long adr, const u_char *buf, | ||||||
|  				    int len) |  				    int len) | ||||||
| @@ -1919,7 +1924,6 @@ static int __xipram do_write_buffer(stru | @@ -1920,7 +1925,6 @@ static int __xipram do_write_buffer(stru | ||||||
|  	return ret; |  	return ret; | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -51,7 +51,7 @@ | |||||||
|  static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, |  static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, | ||||||
|  				    size_t *retlen, const u_char *buf) |  				    size_t *retlen, const u_char *buf) | ||||||
|  { |  { | ||||||
| @@ -1994,6 +1998,7 @@ static int cfi_amdstd_write_buffers(stru | @@ -1995,6 +1999,7 @@ static int cfi_amdstd_write_buffers(stru | ||||||
|   |   | ||||||
|  	return 0; |  	return 0; | ||||||
|  } |  } | ||||||
|   | |||||||
| @@ -659,7 +659,7 @@ dwc_otg: Remove duplicate gadget probe/unregister function | |||||||
|  } |  } | ||||||
| --- a/drivers/usb/core/hub.c
 | --- a/drivers/usb/core/hub.c
 | ||||||
| +++ b/drivers/usb/core/hub.c
 | +++ b/drivers/usb/core/hub.c
 | ||||||
| @@ -4987,7 +4987,7 @@ static void port_event(struct usb_hub *h
 | @@ -4995,7 +4995,7 @@ static void port_event(struct usb_hub *h
 | ||||||
|  	if (portchange & USB_PORT_STAT_C_OVERCURRENT) { |  	if (portchange & USB_PORT_STAT_C_OVERCURRENT) { | ||||||
|  		u16 status = 0, unused; |  		u16 status = 0, unused; | ||||||
|   |   | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ Signed-off-by: George Kashperko <george@znau.edu.ua> | |||||||
|  1 file changed, 1 insertion(+) |  1 file changed, 1 insertion(+) | ||||||
| --- a/drivers/mtd/chips/cfi_cmdset_0002.c | --- a/drivers/mtd/chips/cfi_cmdset_0002.c | ||||||
| +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | ||||||
| @@ -1830,6 +1830,7 @@ static int __xipram do_write_buffer(stru | @@ -1831,6 +1831,7 @@ static int __xipram do_write_buffer(stru | ||||||
|   |   | ||||||
|  	/* Write Buffer Load */ |  	/* Write Buffer Load */ | ||||||
|  	map_write(map, CMD(0x25), cmd_adr); |  	map_write(map, CMD(0x25), cmd_adr); | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  #define PACKET_FANOUT_LB		1 |  #define PACKET_FANOUT_LB		1 | ||||||
| --- a/net/packet/af_packet.c | --- a/net/packet/af_packet.c | ||||||
| +++ b/net/packet/af_packet.c | +++ b/net/packet/af_packet.c | ||||||
| @@ -1777,6 +1777,7 @@ static int packet_rcv_spkt(struct sk_buf | @@ -1784,6 +1784,7 @@ static int packet_rcv_spkt(struct sk_buf | ||||||
|  { |  { | ||||||
|  	struct sock *sk; |  	struct sock *sk; | ||||||
|  	struct sockaddr_pkt *spkt; |  	struct sockaddr_pkt *spkt; | ||||||
| @@ -34,7 +34,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|   |   | ||||||
|  	/* |  	/* | ||||||
|  	 *	When we registered the protocol we saved the socket in the data |  	 *	When we registered the protocol we saved the socket in the data | ||||||
| @@ -1784,6 +1785,7 @@ static int packet_rcv_spkt(struct sk_buf | @@ -1791,6 +1792,7 @@ static int packet_rcv_spkt(struct sk_buf | ||||||
|  	 */ |  	 */ | ||||||
|   |   | ||||||
|  	sk = pt->af_packet_priv; |  	sk = pt->af_packet_priv; | ||||||
| @@ -42,7 +42,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|   |   | ||||||
|  	/* |  	/* | ||||||
|  	 *	Yank back the headers [hope the device set this |  	 *	Yank back the headers [hope the device set this | ||||||
| @@ -1796,7 +1798,7 @@ static int packet_rcv_spkt(struct sk_buf | @@ -1803,7 +1805,7 @@ static int packet_rcv_spkt(struct sk_buf | ||||||
|  	 *	so that this procedure is noop. |  	 *	so that this procedure is noop. | ||||||
|  	 */ |  	 */ | ||||||
|   |   | ||||||
| @@ -51,7 +51,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  		goto out; |  		goto out; | ||||||
|   |   | ||||||
|  	if (!net_eq(dev_net(dev), sock_net(sk))) |  	if (!net_eq(dev_net(dev), sock_net(sk))) | ||||||
| @@ -1999,12 +2001,12 @@ static int packet_rcv(struct sk_buff *sk | @@ -2006,12 +2008,12 @@ static int packet_rcv(struct sk_buff *sk | ||||||
|  	int skb_len = skb->len; |  	int skb_len = skb->len; | ||||||
|  	unsigned int snaplen, res; |  	unsigned int snaplen, res; | ||||||
|   |   | ||||||
| @@ -67,7 +67,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	if (!net_eq(dev_net(dev), sock_net(sk))) |  	if (!net_eq(dev_net(dev), sock_net(sk))) | ||||||
|  		goto drop; |  		goto drop; | ||||||
|   |   | ||||||
| @@ -2124,12 +2126,12 @@ static int tpacket_rcv(struct sk_buff *s | @@ -2131,12 +2133,12 @@ static int tpacket_rcv(struct sk_buff *s | ||||||
|  	BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32); |  	BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32); | ||||||
|  	BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h3)) != 48); |  	BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h3)) != 48); | ||||||
|   |   | ||||||
| @@ -83,7 +83,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	if (!net_eq(dev_net(dev), sock_net(sk))) |  	if (!net_eq(dev_net(dev), sock_net(sk))) | ||||||
|  		goto drop; |  		goto drop; | ||||||
|   |   | ||||||
| @@ -3126,6 +3128,7 @@ static int packet_create(struct net *net | @@ -3135,6 +3137,7 @@ static int packet_create(struct net *net | ||||||
|  	mutex_init(&po->pg_vec_lock); |  	mutex_init(&po->pg_vec_lock); | ||||||
|  	po->rollover = NULL; |  	po->rollover = NULL; | ||||||
|  	po->prot_hook.func = packet_rcv; |  	po->prot_hook.func = packet_rcv; | ||||||
| @@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|   |   | ||||||
|  	if (sock->type == SOCK_PACKET) |  	if (sock->type == SOCK_PACKET) | ||||||
|  		po->prot_hook.func = packet_rcv_spkt; |  		po->prot_hook.func = packet_rcv_spkt; | ||||||
| @@ -3755,6 +3758,16 @@ packet_setsockopt(struct socket *sock, i | @@ -3793,6 +3796,16 @@ packet_setsockopt(struct socket *sock, i | ||||||
|  		po->xmit = val ? packet_direct_xmit : dev_queue_xmit; |  		po->xmit = val ? packet_direct_xmit : dev_queue_xmit; | ||||||
|  		return 0; |  		return 0; | ||||||
|  	} |  	} | ||||||
| @@ -108,7 +108,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  	default: |  	default: | ||||||
|  		return -ENOPROTOOPT; |  		return -ENOPROTOOPT; | ||||||
|  	} |  	} | ||||||
| @@ -3807,6 +3820,13 @@ static int packet_getsockopt(struct sock | @@ -3845,6 +3858,13 @@ static int packet_getsockopt(struct sock | ||||||
|  	case PACKET_VNET_HDR: |  	case PACKET_VNET_HDR: | ||||||
|  		val = po->has_vnet_hdr; |  		val = po->has_vnet_hdr; | ||||||
|  		break; |  		break; | ||||||
|   | |||||||
| @@ -173,7 +173,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  /* |  /* | ||||||
|   *	Allocate a dst for local (unicast / anycast) address. |   *	Allocate a dst for local (unicast / anycast) address. | ||||||
|   */ |   */ | ||||||
| @@ -2747,7 +2780,8 @@ static int rtm_to_fib6_config(struct sk_ | @@ -2749,7 +2782,8 @@ static int rtm_to_fib6_config(struct sk_ | ||||||
|  	if (rtm->rtm_type == RTN_UNREACHABLE || |  	if (rtm->rtm_type == RTN_UNREACHABLE || | ||||||
|  	    rtm->rtm_type == RTN_BLACKHOLE || |  	    rtm->rtm_type == RTN_BLACKHOLE || | ||||||
|  	    rtm->rtm_type == RTN_PROHIBIT || |  	    rtm->rtm_type == RTN_PROHIBIT || | ||||||
| @@ -183,7 +183,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  		cfg->fc_flags |= RTF_REJECT; |  		cfg->fc_flags |= RTF_REJECT; | ||||||
|   |   | ||||||
|  	if (rtm->rtm_type == RTN_LOCAL) |  	if (rtm->rtm_type == RTN_LOCAL) | ||||||
| @@ -3100,6 +3134,9 @@ static int rt6_fill_node(struct net *net | @@ -3102,6 +3136,9 @@ static int rt6_fill_node(struct net *net | ||||||
|  		case -EACCES: |  		case -EACCES: | ||||||
|  			rtm->rtm_type = RTN_PROHIBIT; |  			rtm->rtm_type = RTN_PROHIBIT; | ||||||
|  			break; |  			break; | ||||||
| @@ -193,7 +193,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  		case -EAGAIN: |  		case -EAGAIN: | ||||||
|  			rtm->rtm_type = RTN_THROW; |  			rtm->rtm_type = RTN_THROW; | ||||||
|  			break; |  			break; | ||||||
| @@ -3379,6 +3416,8 @@ static int ip6_route_dev_notify(struct n | @@ -3381,6 +3418,8 @@ static int ip6_route_dev_notify(struct n | ||||||
|  #ifdef CONFIG_IPV6_MULTIPLE_TABLES |  #ifdef CONFIG_IPV6_MULTIPLE_TABLES | ||||||
|  		net->ipv6.ip6_prohibit_entry->dst.dev = dev; |  		net->ipv6.ip6_prohibit_entry->dst.dev = dev; | ||||||
|  		net->ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(dev); |  		net->ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(dev); | ||||||
| @@ -202,7 +202,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  		net->ipv6.ip6_blk_hole_entry->dst.dev = dev; |  		net->ipv6.ip6_blk_hole_entry->dst.dev = dev; | ||||||
|  		net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev); |  		net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev); | ||||||
|  #endif |  #endif | ||||||
| @@ -3390,6 +3429,7 @@ static int ip6_route_dev_notify(struct n | @@ -3392,6 +3431,7 @@ static int ip6_route_dev_notify(struct n | ||||||
|  		in6_dev_put(net->ipv6.ip6_null_entry->rt6i_idev); |  		in6_dev_put(net->ipv6.ip6_null_entry->rt6i_idev); | ||||||
|  #ifdef CONFIG_IPV6_MULTIPLE_TABLES |  #ifdef CONFIG_IPV6_MULTIPLE_TABLES | ||||||
|  		in6_dev_put(net->ipv6.ip6_prohibit_entry->rt6i_idev); |  		in6_dev_put(net->ipv6.ip6_prohibit_entry->rt6i_idev); | ||||||
| @@ -210,7 +210,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  		in6_dev_put(net->ipv6.ip6_blk_hole_entry->rt6i_idev); |  		in6_dev_put(net->ipv6.ip6_blk_hole_entry->rt6i_idev); | ||||||
|  #endif |  #endif | ||||||
|  	} |  	} | ||||||
| @@ -3605,6 +3645,17 @@ static int __net_init ip6_route_net_init | @@ -3607,6 +3647,17 @@ static int __net_init ip6_route_net_init | ||||||
|  	net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops; |  	net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops; | ||||||
|  	dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst, |  	dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst, | ||||||
|  			 ip6_template_metrics, true); |  			 ip6_template_metrics, true); | ||||||
| @@ -228,7 +228,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  #endif |  #endif | ||||||
|   |   | ||||||
|  	net->ipv6.sysctl.flush_delay = 0; |  	net->ipv6.sysctl.flush_delay = 0; | ||||||
| @@ -3623,6 +3674,8 @@ out: | @@ -3625,6 +3676,8 @@ out: | ||||||
|  	return ret; |  	return ret; | ||||||
|   |   | ||||||
|  #ifdef CONFIG_IPV6_MULTIPLE_TABLES |  #ifdef CONFIG_IPV6_MULTIPLE_TABLES | ||||||
| @@ -237,7 +237,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  out_ip6_prohibit_entry: |  out_ip6_prohibit_entry: | ||||||
|  	kfree(net->ipv6.ip6_prohibit_entry); |  	kfree(net->ipv6.ip6_prohibit_entry); | ||||||
|  out_ip6_null_entry: |  out_ip6_null_entry: | ||||||
| @@ -3640,6 +3693,7 @@ static void __net_exit ip6_route_net_exi | @@ -3642,6 +3695,7 @@ static void __net_exit ip6_route_net_exi | ||||||
|  #ifdef CONFIG_IPV6_MULTIPLE_TABLES |  #ifdef CONFIG_IPV6_MULTIPLE_TABLES | ||||||
|  	kfree(net->ipv6.ip6_prohibit_entry); |  	kfree(net->ipv6.ip6_prohibit_entry); | ||||||
|  	kfree(net->ipv6.ip6_blk_hole_entry); |  	kfree(net->ipv6.ip6_blk_hole_entry); | ||||||
| @@ -245,7 +245,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  #endif |  #endif | ||||||
|  	dst_entries_destroy(&net->ipv6.ip6_dst_ops); |  	dst_entries_destroy(&net->ipv6.ip6_dst_ops); | ||||||
|  } |  } | ||||||
| @@ -3713,6 +3767,9 @@ void __init ip6_route_init_special_entri | @@ -3715,6 +3769,9 @@ void __init ip6_route_init_special_entri | ||||||
|  	init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); |  	init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); | ||||||
|  	init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev; |  	init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev; | ||||||
|  	init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); |  	init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); | ||||||
|   | |||||||
| @@ -9,7 +9,7 @@ Subject: [PATCH 36/53] mtd: fix cfi cmdset 0002 erase status check | |||||||
|  |  | ||||||
| --- a/drivers/mtd/chips/cfi_cmdset_0002.c | --- a/drivers/mtd/chips/cfi_cmdset_0002.c | ||||||
| +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | ||||||
| @@ -2291,7 +2291,7 @@ static int __xipram do_erase_chip(struct | @@ -2293,7 +2293,7 @@ static int __xipram do_erase_chip(struct | ||||||
|  			chip->erase_suspended = 0; |  			chip->erase_suspended = 0; | ||||||
|  		} |  		} | ||||||
|   |   | ||||||
| @@ -18,7 +18,7 @@ Subject: [PATCH 36/53] mtd: fix cfi cmdset 0002 erase status check | |||||||
|  			break; |  			break; | ||||||
|   |   | ||||||
|  		if (time_after(jiffies, timeo)) { |  		if (time_after(jiffies, timeo)) { | ||||||
| @@ -2380,7 +2380,7 @@ static int __xipram do_erase_oneblock(st | @@ -2383,7 +2383,7 @@ static int __xipram do_erase_oneblock(st | ||||||
|  			chip->erase_suspended = 0; |  			chip->erase_suspended = 0; | ||||||
|  		} |  		} | ||||||
|   |   | ||||||
|   | |||||||
| @@ -44,7 +44,7 @@ Subject: [PATCH 37/53] mtd: cfi cmdset 0002 force word write | |||||||
|   |   | ||||||
|  /* Atmel chips don't use the same PRI format as AMD chips */ |  /* Atmel chips don't use the same PRI format as AMD chips */ | ||||||
|  static void fixup_convert_atmel_pri(struct mtd_info *mtd) |  static void fixup_convert_atmel_pri(struct mtd_info *mtd) | ||||||
| @@ -1789,6 +1793,7 @@ static int cfi_amdstd_write_words(struct | @@ -1790,6 +1794,7 @@ static int cfi_amdstd_write_words(struct | ||||||
|  /* |  /* | ||||||
|   * FIXME: interleaved mode not tested, and probably not supported! |   * FIXME: interleaved mode not tested, and probably not supported! | ||||||
|   */ |   */ | ||||||
| @@ -52,7 +52,7 @@ Subject: [PATCH 37/53] mtd: cfi cmdset 0002 force word write | |||||||
|  static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, |  static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, | ||||||
|  				    unsigned long adr, const u_char *buf, |  				    unsigned long adr, const u_char *buf, | ||||||
|  				    int len) |  				    int len) | ||||||
| @@ -1917,7 +1922,6 @@ static int __xipram do_write_buffer(stru | @@ -1918,7 +1923,6 @@ static int __xipram do_write_buffer(stru | ||||||
|  	return ret; |  	return ret; | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -60,7 +60,7 @@ Subject: [PATCH 37/53] mtd: cfi cmdset 0002 force word write | |||||||
|  static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, |  static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, | ||||||
|  				    size_t *retlen, const u_char *buf) |  				    size_t *retlen, const u_char *buf) | ||||||
|  { |  { | ||||||
| @@ -1992,6 +1996,7 @@ static int cfi_amdstd_write_buffers(stru | @@ -1993,6 +1997,7 @@ static int cfi_amdstd_write_buffers(stru | ||||||
|   |   | ||||||
|  	return 0; |  	return 0; | ||||||
|  } |  } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user