From 1fc884adeeb5a5ad5a33ac96016488df4bf90d85 Mon Sep 17 00:00:00 2001 From: Hosung Kim Date: Wed, 26 Apr 2017 14:09:24 +0900 Subject: [PATCH] [COMMON] fs: pstore: add hooking platform functions with DSS Change-Id: Ib1b0d29001e647b86c644248eafa02e051d069da Signed-off-by: Hosung Kim --- fs/pstore/ram_core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/pstore/ram_core.c b/fs/pstore/ram_core.c index e11672aa4575..f54a577bc0f8 100644 --- a/fs/pstore/ram_core.c +++ b/fs/pstore/ram_core.c @@ -276,6 +276,9 @@ static int notrace persistent_ram_update_user(struct persistent_ram_zone *prz, struct persistent_ram_buffer *buffer = prz->buffer; int ret = unlikely(__copy_from_user(buffer->data + start, s, count)) ? -EFAULT : 0; + + dbg_snapshot_hook_pmsg(buffer->data + start, count); + persistent_ram_update_ecc(prz, start, count); return ret; } -- 2.20.1