diff options
author | DENG Qingfang <dengqf6@mail2.sysu.edu.cn> | 2019-08-07 03:59:13 +0800 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-08-27 10:32:44 +0200 |
commit | 79f235abef5a9902a625995fd9366b21b8fcbb3d (patch) | |
tree | 2a96618be2daf8d46519bfbbd3cf44ea49ad72e3 /package/utils/mtd-utils/patches | |
parent | 491eaa898bc10b2f22c4b9b8d9cea4b860a0587f (diff) | |
download | upstream-79f235abef5a9902a625995fd9366b21b8fcbb3d.tar.gz upstream-79f235abef5a9902a625995fd9366b21b8fcbb3d.tar.bz2 upstream-79f235abef5a9902a625995fd9366b21b8fcbb3d.zip |
mtd-utils: update to 2.1.1
Removed upstream patch
Compile and run tested on mvebu
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'package/utils/mtd-utils/patches')
-rw-r--r-- | package/utils/mtd-utils/patches/200-Revert-Return-correct-error-number-in-ubi_get_vol_in.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/utils/mtd-utils/patches/200-Revert-Return-correct-error-number-in-ubi_get_vol_in.patch b/package/utils/mtd-utils/patches/200-Revert-Return-correct-error-number-in-ubi_get_vol_in.patch deleted file mode 100644 index 79695c4954..0000000000 --- a/package/utils/mtd-utils/patches/200-Revert-Return-correct-error-number-in-ubi_get_vol_in.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 7d27becbb355853ba778e8b83fe171eecb8195d2 Mon Sep 17 00:00:00 2001 -From: Christian Lamparter <chunkeey@gmail.com> -Date: Thu, 7 Jun 2018 22:36:19 +0200 -Subject: [PATCH] Revert "Return correct error number in ubi_get_vol_info1" - -This reverts commit dede98ffb706676309488d7cc660f569548d5930. ---- - lib/libubi.c | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/lib/libubi.c b/lib/libubi.c -index b50e68a..978b433 100644 ---- a/lib/libubi.c -+++ b/lib/libubi.c -@@ -1240,11 +1240,8 @@ int ubi_get_vol_info1(libubi_t desc, int dev_num, int vol_id, - info->dev_num = dev_num; - info->vol_id = vol_id; - -- if (vol_get_major(lib, dev_num, vol_id, &info->major, &info->minor)) { -- if (errno == ENOENT) -- errno = ENODEV; -+ if (vol_get_major(lib, dev_num, vol_id, &info->major, &info->minor)) - return -1; -- } - - ret = vol_read_data(lib->vol_type, dev_num, vol_id, buf, 50); - if (ret < 0) --- -2.17.1 - |