pstore: improve error report for failed setup
When setting ramoops record sizes, sometimes it's not clear which
parameters contributed to the allocation failure. This adds a per-zone
name and expands the failure reports.

Signed-off-by: Kees Cook <keescook@chromium.org>
[p.zabel@pengutronix.de: ported to Barebox from Linux commit c443a5f3f1f1]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9788514 commit f620beeb9af83fd6b60b7a0126e677a38d0205a1
@Kees Cook Kees Cook authored on 15 Mar 2019
Sascha Hauer committed on 18 Mar 2019
Showing 1 changed file
View
fs/pstore/ram.c