summaryrefslogtreecommitdiffstats
path: root/include/linux/pstore_ram.h
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-26 06:20:22 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 16:59:28 -0700
commit755d66b48fe5a1f2a07802fcc8704e8b9e775e7d (patch)
treeb89be654693337c57cac86de43666629bddb8d0d /include/linux/pstore_ram.h
parentf4c5d2423c64266ba0daa9cc803d1d5ba469fe36 (diff)
downloadlinux-755d66b48fe5a1f2a07802fcc8704e8b9e775e7d.tar.gz
linux-755d66b48fe5a1f2a07802fcc8704e8b9e775e7d.tar.xz
pstore/ram: Factor ramoops_get_next_prz() out of ramoops_pstore_read()
This will help make code clearer when we'll add support for other message types. The patch also changes return value from -EINVAL to 0 in case of end-of-records. The exact value doesn't matter for pstore (it should be just <= 0), but 0 feels more correct. 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>
Diffstat (limited to 'include/linux/pstore_ram.h')
0 files changed, 0 insertions, 0 deletions