pstore/ram: Include ecc_size when calculating ecc_block
Wastes less memory and allows using more memory for ecc than data. Signed-off-by: NArve Hjønnevåg <arve@android.com> [jstultz: Tweaked commit subject] Signed-off-by: NJohn Stultz <john.stultz@linaro.org> Acked-by: NKees Cook <keescook@chromium.org> Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
Showing
想要评论请 注册 或 登录