Skip to content
Commit 422ca860 authored by Arve Hjønnevåg's avatar Arve Hjønnevåg Committed by Anton Vorontsov
Browse files

pstore/ram: Include ecc_size when calculating ecc_block



Wastes less memory and allows using more memory for ecc than data.

Signed-off-by: default avatarArve Hjønnevåg <arve@android.com>
[jstultz: Tweaked commit subject]
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarAnton Vorontsov <anton@enomsg.org>
parent c5302672
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