Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eeb65d9c authored by Alexandru Gheorghiu's avatar Alexandru Gheorghiu Committed by Tony Luck
Browse files

fs: pstore: Replaced calls to kmalloc and memcpy with kmemdup



Replaced calls to kmalloc and memcpy with a single call to kmemdup.
This patch was found using coccicheck.

Signed-off-by: default avatarAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent f6161aa1
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