diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-11 19:34:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-11 19:34:18 -0500 |
commit | 03c668a93187fe7fba9464f96fbe7c22eebd9897 (patch) | |
tree | 5b218ecc44306241375257f1dae94fa115468a3e | |
parent | 3ab0a0f91cca6a9988ef1544176cd7f2106ec722 (diff) | |
parent | 9df4f913eb39046fa57c4217bb3429a63e164000 (diff) |
Merge tag 'for-linus-20160311' of git://git.infradead.org/linux-mtd
Pull MTD fixes from Brian Norris:
"Late MTD fix for v4.5:
- A simple error code handling fix for the NAND ECC test; this was a
regression in v4.5-rc1
- A MAINTAINERS update, which might as well go in ASAP"
* tag 'for-linus-20160311' of git://git.infradead.org/linux-mtd:
MAINTAINERS: add a maintainer for the NAND subsystem
mtd: nand: tests: fix regression introduced in mtd_nandectest
-rw-r--r-- | MAINTAINERS | 11 | ||||
-rw-r--r-- | drivers/mtd/tests/mtd_nandecctest.c | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 4029c63d8a7d..6ee06ea47be4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -7399,6 +7399,17 @@ W: https://www.myricom.com/support/downloads/myri10ge.html | |||
7399 | S: Supported | 7399 | S: Supported |
7400 | F: drivers/net/ethernet/myricom/myri10ge/ | 7400 | F: drivers/net/ethernet/myricom/myri10ge/ |
7401 | 7401 | ||
7402 | NAND FLASH SUBSYSTEM | ||
7403 | M: Boris Brezillon <boris.brezillon@free-electrons.com> | ||
7404 | R: Richard Weinberger <richard@nod.at> | ||
7405 | L: linux-mtd@lists.infradead.org | ||
7406 | W: http://www.linux-mtd.infradead.org/ | ||
7407 | Q: http://patchwork.ozlabs.org/project/linux-mtd/list/ | ||
7408 | T: git git://github.com/linux-nand/linux.git | ||
7409 | S: Maintained | ||
7410 | F: drivers/mtd/nand/ | ||
7411 | F: include/linux/mtd/nand*.h | ||
7412 | |||
7402 | NATSEMI ETHERNET DRIVER (DP8381x) | 7413 | NATSEMI ETHERNET DRIVER (DP8381x) |
7403 | S: Orphan | 7414 | S: Orphan |
7404 | F: drivers/net/ethernet/natsemi/natsemi.c | 7415 | F: drivers/net/ethernet/natsemi/natsemi.c |
diff --git a/drivers/mtd/tests/mtd_nandecctest.c b/drivers/mtd/tests/mtd_nandecctest.c index 79316159eec6..88b6c81cebbe 100644 --- a/drivers/mtd/tests/mtd_nandecctest.c +++ b/drivers/mtd/tests/mtd_nandecctest.c | |||
@@ -187,7 +187,7 @@ static int double_bit_error_detect(void *error_data, void *error_ecc, | |||
187 | __nand_calculate_ecc(error_data, size, calc_ecc); | 187 | __nand_calculate_ecc(error_data, size, calc_ecc); |
188 | ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size); | 188 | ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size); |
189 | 189 | ||
190 | return (ret == -1) ? 0 : -EINVAL; | 190 | return (ret == -EBADMSG) ? 0 : -EINVAL; |
191 | } | 191 | } |
192 | 192 | ||
193 | static const struct nand_ecc_test nand_ecc_test[] = { | 193 | static const struct nand_ecc_test nand_ecc_test[] = { |