Skip to content
Commit a0fd1efd authored by Kyungmin Park's avatar Kyungmin Park Committed by Artem Bityutskiy
Browse files

UBI: fix buffer padding



Instead of correctly pad the buffer wich we are writing to the
eraseblock during update, we used weird construct:

memset(buf + len, 0xFF, len - len);

Fix this.

Signed-off-by: default avatarKyungmin Park <kmpark@infradead.org>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent beeea636
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment