Skip to content
Snippets Groups Projects
Commit 610a2cc7 authored by Wagner Popov dos Santos's avatar Wagner Popov dos Santos Committed by Tom Rini
Browse files

JFFS2: fix the reading address over nand's limit


Fixes address violation in functions read_nand_cached() and
read_onenand_cached(). This happens because these functions
try to read a fixed amount
of data even when the offset+length
is above the nand's limit.

Signed-off-by: default avatarWagner Popov dos Santos <wpopov@gmail.com>
parent 02395fec
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment