Signed-off-by: Alexander Couzens <[email protected]>
---
target/linux/generic/patches-3.6/441-block2mtd_refresh.patch | 3 ++-
target/linux/generic/patches-3.8/441-block2mtd_refresh.patch | 3 ++-
target/linux/generic/patches-3.9/441-block2mtd_refresh.patch | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
b/target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
index d54e529..7f8a1f1 100644
--- a/target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
+++ b/target/linux/generic/patches-3.6/441-block2mtd_refresh.patch
@@ -53,8 +53,9 @@
page = page_read(dev->blkdev->bd_inode->i_mapping, index);
- if (IS_ERR(page))
+- return PTR_ERR(page);
+ if (IS_ERR(page)) {
- return PTR_ERR(page);
++ err = PTR_ERR(page);
+ goto done;
+ }
diff --git a/target/linux/generic/patches-3.8/441-block2mtd_refresh.patch
b/target/linux/generic/patches-3.8/441-block2mtd_refresh.patch
index 11b743d..b2b0222 100644
--- a/target/linux/generic/patches-3.8/441-block2mtd_refresh.patch
+++ b/target/linux/generic/patches-3.8/441-block2mtd_refresh.patch
@@ -53,8 +53,9 @@
page = page_read(dev->blkdev->bd_inode->i_mapping, index);
- if (IS_ERR(page))
+- return PTR_ERR(page);
+ if (IS_ERR(page)) {
- return PTR_ERR(page);
++ err = PTR_ERR(page);
+ goto done;
+ }
diff --git a/target/linux/generic/patches-3.9/441-block2mtd_refresh.patch
b/target/linux/generic/patches-3.9/441-block2mtd_refresh.patch
index 11b743d..b2b0222 100644
--- a/target/linux/generic/patches-3.9/441-block2mtd_refresh.patch
+++ b/target/linux/generic/patches-3.9/441-block2mtd_refresh.patch
@@ -53,8 +53,9 @@
page = page_read(dev->blkdev->bd_inode->i_mapping, index);
- if (IS_ERR(page))
+- return PTR_ERR(page);
+ if (IS_ERR(page)) {
- return PTR_ERR(page);
++ err = PTR_ERR(page);
+ goto done;
+ }
--
1.8.3.4
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel