diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2012-05-29 22:12:07 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-06-05 10:46:54 +0200 |
commit | bb62247d601a2d853d81dc7403edfc5e3b0818c7 (patch) | |
tree | 0037cf27bb4cf2f300babd932cc251f2ee157efb /meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch | |
parent | 0dbd716b73aeac3f8b2d6b82583d8a6a4fd0b636 (diff) | |
download | meta-openembedded-contrib-bb62247d601a2d853d81dc7403edfc5e3b0818c7.tar.gz |
ubi-utils-klibc: more patch-cleanings
* remove unnecessary patches after klibc upgrades
* bump PR
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch')
-rw-r--r-- | meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch index 8278a4fc7c..db95904ea8 100644 --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch @@ -1,27 +1,5 @@ --- a/ubi-utils/libubi.c 2012-05-01 01:57:51.000000000 +0200 +++ b/ubi-utils/libubi.c 2012-05-01 01:55:14.000000000 +0200 -@@ -382,8 +402,8 @@ - return errmsg("\"%s\" is not a character device", node); - } - -- major = major(st.st_rdev); -- minor = minor(st.st_rdev); -+ major = __major(st.st_rdev); -+ minor = __minor(st.st_rdev); - - if (minor == 0) { - errno = EINVAL; -@@ -448,8 +468,8 @@ - return errmsg("\"%s\" is not a character device", node); - } - -- major = major(st.st_rdev); -- minor = minor(st.st_rdev); -+ major = __major(st.st_rdev); -+ minor = __minor(st.st_rdev); - - if (minor != 0) { - errno = EINVAL; @@ -686,7 +706,7 @@ * success and %-1 in case of failure. @r->ubi_num contains newly created UBI * device number. @@ -31,25 +9,3 @@ { int fd, ret; -@@ -757,8 +777,8 @@ - mtd_dev_node); - } - -- major = major(sb.st_rdev); -- minor = minor(sb.st_rdev); -+ major = __major(sb.st_rdev); -+ minor = __minor(sb.st_rdev); - - if (major != MTD_CHAR_MAJOR) { - errno = EINVAL; -@@ -866,8 +886,8 @@ - return -1; - } - -- major = major(st.st_rdev); -- minor = minor(st.st_rdev); -+ major = __major(st.st_rdev); -+ minor = __minor(st.st_rdev); - - if (ubi_get_info((libubi_t *)lib, &info)) - return -1; |