diff options
author | Alexandru Gheorghiu <gheorghiuandru@gmail.com> | 2013-03-09 13:57:28 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-03-11 12:13:21 -0700 |
commit | eeb65d9cb5159752e672b5164110838bb5936a4a (patch) | |
tree | e1d2400c828ca0956f1bb3b7c39c04d3cb7ab988 /lib/smp_processor_id.c | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff) | |
download | op-kernel-dev-eeb65d9cb5159752e672b5164110838bb5936a4a.zip op-kernel-dev-eeb65d9cb5159752e672b5164110838bb5936a4a.tar.gz |
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 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions