X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-4.4%2F451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch;fp=target%2Flinux%2Fgeneric%2Fpatches-4.4%2F451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch;h=0000000000000000000000000000000000000000;hb=74d00a8c3849c1340efd713eb94b786e304c201f;hp=6a2092ce20e4a75169c735f8db506f7be99888e3;hpb=de350550ef648d9728351b986b0516fa29465c45;p=openwrt%2Fopenwrt.git diff --git a/target/linux/generic/patches-4.4/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch b/target/linux/generic/patches-4.4/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch deleted file mode 100644 index 6a2092ce20..0000000000 --- a/target/linux/generic/patches-4.4/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/drivers/mtd/nand/nand_ecc.c -+++ b/drivers/mtd/nand/nand_ecc.c -@@ -507,7 +507,7 @@ int __nand_correct_data(unsigned char *b - return 1; /* error in ECC data; no action needed */ - - pr_err("%s: uncorrectable ECC error\n", __func__); -- return -1; -+ return -EBADMSG; - } - EXPORT_SYMBOL(__nand_correct_data); -