commit | eeb65d9cb5159752e672b5164110838bb5936a4a | [log] [tgz] |
---|---|---|
author | Alexandru Gheorghiu <gheorghiuandru@gmail.com> | Sat Mar 09 13:57:28 2013 +0200 |
committer | Tony Luck <tony.luck@intel.com> | Mon Mar 11 12:13:21 2013 -0700 |
tree | e1d2400c828ca0956f1bb3b7c39c04d3cb7ab988 | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 [diff] |
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: Alexandru Gheorghiu <gheorghiuandru@gmail.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>