diff options
author | Abhishek Sahu <absahu@codeaurora.org> | 2018-06-20 12:57:35 +0530 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 09:24:07 +0200 |
commit | 2f610386736d9e5dc69fa06374138f9712690921 (patch) | |
tree | d8de43e97eb20445248b71974c3b3697cdbdbf7d /Documentation/security | |
parent | 8eab72148808a74535c3322f6ca30aba77d2d4a9 (diff) |
mtd: rawnand: qcom: fix null pointer access for erased page detection
parse_read_errors can be called with only oob_buf in which case
data_buf will be NULL. If data_buf is NULL, then don’t
treat this page as completely erased in case of ECC uncorrectable
error for RS ECC. For BCH ECC, the controller itself tells
regarding erased page in status register.
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'Documentation/security')
0 files changed, 0 insertions, 0 deletions