kernel: bump 4.14 to 4.14.97
Refreshed all patches. Adapted patches: - 012-kbuild-add-macro-for-controlling-warnings-to-linux-c.patch Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
This commit is contained in:
		| @@ -4,12 +4,12 @@ LINUX_RELEASE?=1 | |||||||
|  |  | ||||||
| LINUX_VERSION-3.18 = .133 | LINUX_VERSION-3.18 = .133 | ||||||
| LINUX_VERSION-4.9 = .154 | LINUX_VERSION-4.9 = .154 | ||||||
| LINUX_VERSION-4.14 = .96 | LINUX_VERSION-4.14 = .97 | ||||||
| LINUX_VERSION-4.19 = .18 | LINUX_VERSION-4.19 = .18 | ||||||
|  |  | ||||||
| LINUX_KERNEL_HASH-3.18.133 = 3ec7f47365a8a050e629a5016e90e38a800e840c844901c979e9e796f8dc6711 | LINUX_KERNEL_HASH-3.18.133 = 3ec7f47365a8a050e629a5016e90e38a800e840c844901c979e9e796f8dc6711 | ||||||
| LINUX_KERNEL_HASH-4.9.154 = 5b314f1ac16f78e10acea0053f0c758e696b28f80272064e0a06bc69dc9d5696 | LINUX_KERNEL_HASH-4.9.154 = 5b314f1ac16f78e10acea0053f0c758e696b28f80272064e0a06bc69dc9d5696 | ||||||
| LINUX_KERNEL_HASH-4.14.96 = 110daeae1a416b7e0ec8dce5e86d67552deeb4567f696c3869389be239f0ecb5 | LINUX_KERNEL_HASH-4.14.97 = 8dd2c831ddabfc6241ddca946e600376785fd6f225a24655bc36a0c6b4e945f4 | ||||||
| LINUX_KERNEL_HASH-4.19.18 = 5ffdc068f9bf768b7cd5a8a2271d1370c2326e967848b13e21dfdbb1ef0ff3f1 | LINUX_KERNEL_HASH-4.19.18 = 5ffdc068f9bf768b7cd5a8a2271d1370c2326e967848b13e21dfdbb1ef0ff3f1 | ||||||
|  |  | ||||||
| remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) | remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ | |||||||
|  #endif /* __MDIO_BOARD_INFO_H */ |  #endif /* __MDIO_BOARD_INFO_H */ | ||||||
| --- a/drivers/net/phy/mdio_bus.c | --- a/drivers/net/phy/mdio_bus.c | ||||||
| +++ b/drivers/net/phy/mdio_bus.c | +++ b/drivers/net/phy/mdio_bus.c | ||||||
| @@ -455,6 +455,17 @@ void mdiobus_free(struct mii_bus *bus) | @@ -456,6 +456,17 @@ void mdiobus_free(struct mii_bus *bus) | ||||||
|  } |  } | ||||||
|  EXPORT_SYMBOL(mdiobus_free); |  EXPORT_SYMBOL(mdiobus_free); | ||||||
|   |   | ||||||
| @@ -44,7 +44,7 @@ | |||||||
|  /** |  /** | ||||||
|   * mdiobus_scan - scan a bus for MDIO devices. |   * mdiobus_scan - scan a bus for MDIO devices. | ||||||
|   * @bus: mii_bus to scan |   * @bus: mii_bus to scan | ||||||
| @@ -470,6 +481,7 @@ EXPORT_SYMBOL(mdiobus_free); | @@ -471,6 +482,7 @@ EXPORT_SYMBOL(mdiobus_free); | ||||||
|  struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) |  struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) | ||||||
|  { |  { | ||||||
|  	struct phy_device *phydev; |  	struct phy_device *phydev; | ||||||
| @@ -52,7 +52,7 @@ | |||||||
|  	int err; |  	int err; | ||||||
|   |   | ||||||
|  	phydev = get_phy_device(bus, addr, false); |  	phydev = get_phy_device(bus, addr, false); | ||||||
| @@ -482,6 +494,12 @@ struct phy_device *mdiobus_scan(struct m | @@ -483,6 +495,12 @@ struct phy_device *mdiobus_scan(struct m | ||||||
|  	 */ |  	 */ | ||||||
|  	of_mdiobus_link_mdiodev(bus, &phydev->mdio); |  	of_mdiobus_link_mdiodev(bus, &phydev->mdio); | ||||||
|   |   | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  |  | ||||||
| --- a/drivers/net/phy/mdio_bus.c | --- a/drivers/net/phy/mdio_bus.c | ||||||
| +++ b/drivers/net/phy/mdio_bus.c | +++ b/drivers/net/phy/mdio_bus.c | ||||||
| @@ -493,6 +493,55 @@ struct phy_device *mdiobus_scan(struct m | @@ -494,6 +494,55 @@ struct phy_device *mdiobus_scan(struct m | ||||||
|  EXPORT_SYMBOL(mdiobus_scan); |  EXPORT_SYMBOL(mdiobus_scan); | ||||||
|   |   | ||||||
|  /** |  /** | ||||||
| @@ -75,7 +75,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|   * mdiobus_read_nested - Nested version of the mdiobus_read function |   * mdiobus_read_nested - Nested version of the mdiobus_read function | ||||||
|   * @bus: the mii_bus struct |   * @bus: the mii_bus struct | ||||||
|   * @addr: the phy address |   * @addr: the phy address | ||||||
| @@ -512,11 +561,9 @@ int mdiobus_read_nested(struct mii_bus * | @@ -513,11 +562,9 @@ int mdiobus_read_nested(struct mii_bus * | ||||||
|  	BUG_ON(in_interrupt()); |  	BUG_ON(in_interrupt()); | ||||||
|   |   | ||||||
|  	mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); |  	mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); | ||||||
| @@ -88,7 +88,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  	return retval; |  	return retval; | ||||||
|  } |  } | ||||||
|  EXPORT_SYMBOL(mdiobus_read_nested); |  EXPORT_SYMBOL(mdiobus_read_nested); | ||||||
| @@ -538,11 +585,9 @@ int mdiobus_read(struct mii_bus *bus, in | @@ -539,11 +586,9 @@ int mdiobus_read(struct mii_bus *bus, in | ||||||
|  	BUG_ON(in_interrupt()); |  	BUG_ON(in_interrupt()); | ||||||
|   |   | ||||||
|  	mutex_lock(&bus->mdio_lock); |  	mutex_lock(&bus->mdio_lock); | ||||||
| @@ -101,7 +101,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  	return retval; |  	return retval; | ||||||
|  } |  } | ||||||
|  EXPORT_SYMBOL(mdiobus_read); |  EXPORT_SYMBOL(mdiobus_read); | ||||||
| @@ -568,11 +613,9 @@ int mdiobus_write_nested(struct mii_bus | @@ -569,11 +614,9 @@ int mdiobus_write_nested(struct mii_bus | ||||||
|  	BUG_ON(in_interrupt()); |  	BUG_ON(in_interrupt()); | ||||||
|   |   | ||||||
|  	mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); |  	mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED); | ||||||
| @@ -114,7 +114,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> | |||||||
|  	return err; |  	return err; | ||||||
|  } |  } | ||||||
|  EXPORT_SYMBOL(mdiobus_write_nested); |  EXPORT_SYMBOL(mdiobus_write_nested); | ||||||
| @@ -595,11 +638,9 @@ int mdiobus_write(struct mii_bus *bus, i | @@ -596,11 +639,9 @@ int mdiobus_write(struct mii_bus *bus, i | ||||||
|  	BUG_ON(in_interrupt()); |  	BUG_ON(in_interrupt()); | ||||||
|   |   | ||||||
|  	mutex_lock(&bus->mdio_lock); |  	mutex_lock(&bus->mdio_lock); | ||||||
|   | |||||||
| @@ -84,10 +84,11 @@ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> | |||||||
|  |  | ||||||
| --- a/include/linux/compiler-gcc.h | --- a/include/linux/compiler-gcc.h | ||||||
| +++ b/include/linux/compiler-gcc.h | +++ b/include/linux/compiler-gcc.h | ||||||
| @@ -358,3 +358,28 @@ | @@ -362,3 +362,30 @@ | ||||||
|   * code |  #if GCC_VERSION >= 50100 | ||||||
|   */ |  #define COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW 1 | ||||||
|  #define uninitialized_var(x) x = x |  #endif | ||||||
|  | + | ||||||
| + | + | ||||||
| +/* | +/* | ||||||
| + * Turn individual warnings and errors on and off locally, depending | + * Turn individual warnings and errors on and off locally, depending | ||||||
| @@ -113,6 +114,7 @@ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> | |||||||
| +#else | +#else | ||||||
| +#define __diag_GCC_8(s) | +#define __diag_GCC_8(s) | ||||||
| +#endif | +#endif | ||||||
|  | + | ||||||
| --- a/include/linux/compiler_types.h | --- a/include/linux/compiler_types.h | ||||||
| +++ b/include/linux/compiler_types.h | +++ b/include/linux/compiler_types.h | ||||||
| @@ -283,4 +283,22 @@ struct ftrace_likely_data { | @@ -283,4 +283,22 @@ struct ftrace_likely_data { | ||||||
|   | |||||||
| @@ -13,11 +13,11 @@ Acked-by: Adrian Hunter <adrian.hunter@intel.com> | |||||||
|  |  | ||||||
| --- a/drivers/mmc/host/Kconfig | --- a/drivers/mmc/host/Kconfig | ||||||
| +++ b/drivers/mmc/host/Kconfig | +++ b/drivers/mmc/host/Kconfig | ||||||
| @@ -429,6 +429,7 @@ config MMC_SDHCI_MSM | @@ -310,6 +310,7 @@ config MMC_SDHCI_BCM_KONA | ||||||
|  	tristate "Qualcomm SDHCI Controller Support" |  	tristate "SDHCI support on Broadcom KONA platform" | ||||||
|  	depends on ARCH_QCOM || (ARM && COMPILE_TEST) |  	depends on ARCH_BCM_MOBILE | ||||||
|  	depends on MMC_SDHCI_PLTFM |  	depends on MMC_SDHCI_PLTFM | ||||||
| +	select MMC_SDHCI_IO_ACCESSORS | +	select MMC_SDHCI_IO_ACCESSORS | ||||||
|  	help |  	help | ||||||
|  	  This selects the Secure Digital Host Controller Interface (SDHCI) |  	  This selects the Broadcom Kona Secure Digital Host Controller | ||||||
|  	  support present in Qualcomm SOCs. The controller supports |  	  Interface(SDHCI) support. | ||||||
|   | |||||||
| @@ -338,7 +338,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|   |   | ||||||
| --- a/net/ipv4/fib_trie.c | --- a/net/ipv4/fib_trie.c | ||||||
| +++ b/net/ipv4/fib_trie.c | +++ b/net/ipv4/fib_trie.c | ||||||
| @@ -2731,10 +2731,12 @@ static const struct file_operations fib_ | @@ -2740,10 +2740,12 @@ static const struct file_operations fib_ | ||||||
|   |   | ||||||
|  int __net_init fib_proc_init(struct net *net) |  int __net_init fib_proc_init(struct net *net) | ||||||
|  { |  { | ||||||
| @@ -353,7 +353,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  			 &fib_triestat_fops)) |  			 &fib_triestat_fops)) | ||||||
|  		goto out2; |  		goto out2; | ||||||
|   |   | ||||||
| @@ -2744,17 +2746,21 @@ int __net_init fib_proc_init(struct net | @@ -2753,17 +2755,21 @@ int __net_init fib_proc_init(struct net | ||||||
|  	return 0; |  	return 0; | ||||||
|   |   | ||||||
|  out3: |  out3: | ||||||
|   | |||||||
| @@ -73,7 +73,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> | |||||||
|  #include <linux/nsproxy.h> |  #include <linux/nsproxy.h> | ||||||
|  #include <net/net_namespace.h> |  #include <net/net_namespace.h> | ||||||
|  #include <net/netns/generic.h> |  #include <net/netns/generic.h> | ||||||
| @@ -977,8 +982,36 @@ static int pppoe_xmit(struct ppp_channel | @@ -978,8 +983,36 @@ static int pppoe_xmit(struct ppp_channel | ||||||
|  	return __pppoe_xmit(sk, skb); |  	return __pppoe_xmit(sk, skb); | ||||||
|  } |  } | ||||||
|   |   | ||||||
|   | |||||||
| @@ -66,7 +66,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> | |||||||
|  static void rt_fibinfo_free(struct rtable __rcu **rtp) |  static void rt_fibinfo_free(struct rtable __rcu **rtp) | ||||||
| --- a/net/ipv4/fib_trie.c | --- a/net/ipv4/fib_trie.c | ||||||
| +++ b/net/ipv4/fib_trie.c | +++ b/net/ipv4/fib_trie.c | ||||||
| @@ -2460,6 +2460,7 @@ static const char *const rtn_type_names[ | @@ -2469,6 +2469,7 @@ static const char *const rtn_type_names[ | ||||||
|  	[RTN_THROW] = "THROW", |  	[RTN_THROW] = "THROW", | ||||||
|  	[RTN_NAT] = "NAT", |  	[RTN_NAT] = "NAT", | ||||||
|  	[RTN_XRESOLVE] = "XRESOLVE", |  	[RTN_XRESOLVE] = "XRESOLVE", | ||||||
|   | |||||||
| @@ -241,7 +241,7 @@ Signed-off-by: Biwen Li <biwen.li@nxp.com> | |||||||
|  void  __kfree_skb(struct sk_buff *skb); |  void  __kfree_skb(struct sk_buff *skb); | ||||||
|  extern struct kmem_cache *skbuff_head_cache; |  extern struct kmem_cache *skbuff_head_cache; | ||||||
|   |   | ||||||
| @@ -3293,6 +3294,7 @@ static inline void skb_free_datagram_loc | @@ -3294,6 +3295,7 @@ static inline void skb_free_datagram_loc | ||||||
|  } |  } | ||||||
|  int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags); |  int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags); | ||||||
|  int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len); |  int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len); | ||||||
|   | |||||||
| @@ -432,7 +432,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> | |||||||
|  		reg &= ~DWC3_DCTL_INITU2ENA; |  		reg &= ~DWC3_DCTL_INITU2ENA; | ||||||
| --- a/drivers/usb/dwc3/gadget.c | --- a/drivers/usb/dwc3/gadget.c | ||||||
| +++ b/drivers/usb/dwc3/gadget.c | +++ b/drivers/usb/dwc3/gadget.c | ||||||
| @@ -3203,6 +3203,7 @@ int dwc3_gadget_init(struct dwc3 *dwc) | @@ -3205,6 +3205,7 @@ int dwc3_gadget_init(struct dwc3 *dwc) | ||||||
|  { |  { | ||||||
|  	int ret; |  	int ret; | ||||||
|  	int irq; |  	int irq; | ||||||
| @@ -440,7 +440,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> | |||||||
|   |   | ||||||
|  	irq = dwc3_gadget_get_irq(dwc); |  	irq = dwc3_gadget_get_irq(dwc); | ||||||
|  	if (irq < 0) { |  	if (irq < 0) { | ||||||
| @@ -3279,6 +3280,12 @@ int dwc3_gadget_init(struct dwc3 *dwc) | @@ -3281,6 +3282,12 @@ int dwc3_gadget_init(struct dwc3 *dwc) | ||||||
|  		goto err4; |  		goto err4; | ||||||
|  	} |  	} | ||||||
|   |   | ||||||
| @@ -1253,7 +1253,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> | |||||||
|  		while (ep_ring->dequeue != td->last_trb) |  		while (ep_ring->dequeue != td->last_trb) | ||||||
| --- a/drivers/usb/host/xhci.c | --- a/drivers/usb/host/xhci.c | ||||||
| +++ b/drivers/usb/host/xhci.c | +++ b/drivers/usb/host/xhci.c | ||||||
| @@ -1599,13 +1599,38 @@ static int xhci_urb_dequeue(struct usb_h | @@ -1597,13 +1597,38 @@ static int xhci_urb_dequeue(struct usb_h | ||||||
|  			ret = -ENOMEM; |  			ret = -ENOMEM; | ||||||
|  			goto done; |  			goto done; | ||||||
|  		} |  		} | ||||||
| @@ -1298,7 +1298,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> | |||||||
|  	} |  	} | ||||||
|  done: |  done: | ||||||
|  	spin_unlock_irqrestore(&xhci->lock, flags); |  	spin_unlock_irqrestore(&xhci->lock, flags); | ||||||
| @@ -4990,7 +5015,7 @@ int xhci_gen_setup(struct usb_hcd *hcd, | @@ -4988,7 +5013,7 @@ int xhci_gen_setup(struct usb_hcd *hcd, | ||||||
|  		return retval; |  		return retval; | ||||||
|  	xhci_dbg(xhci, "Called HCD init\n"); |  	xhci_dbg(xhci, "Called HCD init\n"); | ||||||
|   |   | ||||||
|   | |||||||
| @@ -229,7 +229,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |||||||
|   |   | ||||||
|  	mtk->num_phys = of_count_phandle_with_args(node, |  	mtk->num_phys = of_count_phandle_with_args(node, | ||||||
|  			"phys", "#phy-cells"); |  			"phys", "#phy-cells"); | ||||||
| @@ -780,7 +723,7 @@ static int __maybe_unused xhci_mtk_suspe | @@ -782,7 +725,7 @@ static int __maybe_unused xhci_mtk_suspe | ||||||
|  	xhci_mtk_host_disable(mtk); |  	xhci_mtk_host_disable(mtk); | ||||||
|  	xhci_mtk_phy_power_off(mtk); |  	xhci_mtk_phy_power_off(mtk); | ||||||
|  	xhci_mtk_clks_disable(mtk); |  	xhci_mtk_clks_disable(mtk); | ||||||
| @@ -238,7 +238,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |||||||
|  	return 0; |  	return 0; | ||||||
|  } |  } | ||||||
|   |   | ||||||
| @@ -790,7 +733,7 @@ static int __maybe_unused xhci_mtk_resum | @@ -792,7 +735,7 @@ static int __maybe_unused xhci_mtk_resum | ||||||
|  	struct usb_hcd *hcd = mtk->hcd; |  	struct usb_hcd *hcd = mtk->hcd; | ||||||
|  	struct xhci_hcd *xhci = hcd_to_xhci(hcd); |  	struct xhci_hcd *xhci = hcd_to_xhci(hcd); | ||||||
|   |   | ||||||
|   | |||||||
| @@ -25,7 +25,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> | |||||||
|  |  | ||||||
| --- a/drivers/mmc/host/Kconfig | --- a/drivers/mmc/host/Kconfig | ||||||
| +++ b/drivers/mmc/host/Kconfig | +++ b/drivers/mmc/host/Kconfig | ||||||
| @@ -900,3 +900,5 @@ config MMC_SDHCI_XENON | @@ -901,3 +901,5 @@ config MMC_SDHCI_XENON | ||||||
|  	  This selects Marvell Xenon eMMC/SD/SDIO SDHCI. |  	  This selects Marvell Xenon eMMC/SD/SDIO SDHCI. | ||||||
|  	  If you have a controller with this interface, say Y or M here. |  	  If you have a controller with this interface, say Y or M here. | ||||||
|  	  If unsure, say N. |  	  If unsure, say N. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Koen Vandeputte
					Koen Vandeputte