Re: [PATCH RESEND 0/2] fs/pstore: Use memcpy_from/toio() instead of memcpy.

From: Kees Cook
Date: Thu Jan 21 2016 - 14:18:46 EST


On Thu, Jan 21, 2016 at 8:44 AM, Enric Balletbo i Serra
<enric.balletbo@xxxxxxxxxxxxx> wrote:
> Dear all,
>
> These patches were needed in order to make ramoops work in my armv8 board. They
> originally come from chrome os kernel, so I kept the original authors. I found
> that weren't in mainline so I thought that will be really interesting send them.
>
> Best regards,
> Enric
>
> Andrew Bresticker (1):
> fs/pstore: Use memcpy_fromio() to save old ramoops buffer
>
> Furquan Shaikh (1):
> fs/pstore: Use memcpy_toio instead of memcpy
>
> fs/pstore/ram_core.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Thanks! These look fine to me.

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

-Kees

--
Kees Cook
Chrome OS & Brillo Security