diff options
author | John Crispin <john@openwrt.org> | 2016-04-27 08:58:15 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-04-28 11:48:51 +0200 |
commit | 090b134786a009427442aee7e2ea48e47be5e60f (patch) | |
tree | 221955b231c89be46130cd388aa2435e4247aa5c /target/linux/mediatek/patches-4.4/0083-net-next-mediatek-add-missing-return-code-check.patch | |
parent | 9e4d671f75cf02264711fa27c91215038f2a03f8 (diff) | |
download | upstream-090b134786a009427442aee7e2ea48e47be5e60f.tar.gz upstream-090b134786a009427442aee7e2ea48e47be5e60f.tar.bz2 upstream-090b134786a009427442aee7e2ea48e47be5e60f.zip |
mediatek: sync and patches add support for several boards
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 49263
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0083-net-next-mediatek-add-missing-return-code-check.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.4/0083-net-next-mediatek-add-missing-return-code-check.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/mediatek/patches-4.4/0083-net-next-mediatek-add-missing-return-code-check.patch b/target/linux/mediatek/patches-4.4/0083-net-next-mediatek-add-missing-return-code-check.patch index 9a916d9821..8908fa1373 100644 --- a/target/linux/mediatek/patches-4.4/0083-net-next-mediatek-add-missing-return-code-check.patch +++ b/target/linux/mediatek/patches-4.4/0083-net-next-mediatek-add-missing-return-code-check.patch @@ -1,7 +1,7 @@ -From 2206de729d8a873898b983f5ff7633a2489aa71c Mon Sep 17 00:00:00 2001 +From 436659829b38d5babc2d590676f5b74bfc17568a Mon Sep 17 00:00:00 2001 From: John Crispin <blogic@openwrt.org> Date: Sat, 23 Apr 2016 09:06:05 +0200 -Subject: [PATCH 83/91] net-next: mediatek: add missing return code check +Subject: [PATCH 83/90] net-next: mediatek: add missing return code check The code fails to check if the scratch memory was properly allocated. Add this check and return with an error if the allocation failed. @@ -12,7 +12,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c -index 674e8e3..37e9260 100644 +index aa25788..e58a634 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -483,6 +483,9 @@ static int mtk_init_fq_dma(struct mtk_eth *eth) |