Skip to content
Commit d8991f51 authored by Joel Fernandes's avatar Joel Fernandes Committed by Kees Cook
Browse files

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: default avatarJoel Fernandes <joelaf@google.com>
[kees: adjusted commit log and added -EINVAL return]
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 10970449
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment