diff options
author | Joel Fernandes <joelaf@google.com> | 2016-10-20 00:34:02 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-11-11 10:36:46 -0800 |
commit | d8991f51e55fd3c5b8ad055653a5998e53d4ec91 (patch) | |
tree | 9588f96b17e7584833161aefd1025e7f8f40930f /include/linux/pstore_ram.h | |
parent | 109704492ef637956265ec2eb72ae7b3b39eb6f4 (diff) | |
download | lwn-d8991f51e55fd3c5b8ad055653a5998e53d4ec91.tar.gz lwn-d8991f51e55fd3c5b8ad055653a5998e53d4ec91.zip |
pstore: Warn on PSTORE_TYPE_PMSG using deprecated function
PMSG now uses ramoops_pstore_write_buf_user() instead of ...write_buf().
Print a ratelimited warning if gets accidentally called.
Signed-off-by: Joel Fernandes <joelaf@google.com>
[kees: adjusted commit log and added -EINVAL return]
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/pstore_ram.h')
0 files changed, 0 insertions, 0 deletions