Skip to content
Commit 77418921 authored by Thomas Meyer's avatar Thomas Meyer Committed by Tony Luck
Browse files

efi, pstore: Cocci spatch "memdup.spatch"



Change a kmalloc() + memcpy() pair for a single kmemdup() call.

Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent d683b96b
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