diff options
author | Alexandru Gheorghiu <gheorghiuandru@gmail.com> | 2013-03-09 12:57:28 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-03-11 20:13:21 +0100 |
commit | eeb65d9cb5159752e672b5164110838bb5936a4a (patch) | |
tree | e1d2400c828ca0956f1bb3b7c39c04d3cb7ab988 /fs/sysfs | |
parent | Linux 3.9-rc2 (diff) | |
download | linux-eeb65d9cb5159752e672b5164110838bb5936a4a.tar.xz linux-eeb65d9cb5159752e672b5164110838bb5936a4a.zip |
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>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions