git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b58d9
)
pstore/ram_core: Proper checking for post_init errors (e.g. improper ECC size)
author
Anton Vorontsov
<anton.vorontsov@linaro.org>
Tue, 19 Jun 2012 02:15:52 +0000
(19:15 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 23:15:22 +0000
(16:15 -0700)
We will implement variable-sized ECC buffers soon, so post_init routine
might fail much more likely, so we'd better check for its errors.
To make error handling simple, modify persistent_ram_free() to it be safe
at all times.
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found