diff options
| author | 2018-06-20 12:57:36 +0530 | |
|---|---|---|
| committer | 2018-07-18 09:24:08 +0200 | |
| commit | add0cfa3c3e51149c2101765edf05c548ba5f2ee (patch) | |
| tree | cba72336cdbf3071fe72d6066e50fc4651fe0243 /scripts/const_structs.checkpatch | |
| parent | mtd: rawnand: qcom: fix null pointer access for erased page detection (diff) | |
mtd: rawnand: qcom: parse read errors for read oob also
read_page and read_oob both calls the read_page_ecc function.
The QCOM NAND controller protect the OOB available bytes with
ECC so read errors should be checked for read_oob also.
This patch moves the error checking code inside read_page_ecc
so caller does not have to check explicitly for read errors.
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
