From: Silviu-Mihai Popescu Date: Mon, 11 Mar 2013 16:22:32 +0000 (+0200) Subject: fs: cifs: use kmemdup instead of kmalloc + memcpy X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~27^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f7c1850eb98da758731ea7edfa830ebefe24cd;p=pandora-kernel.git fs: cifs: use kmemdup instead of kmalloc + memcpy This replaces calls to kmalloc followed by memcpy with a single call to kmemdup. This was found via make coccicheck. Signed-off-by: Silviu-Mihai Popescu Signed-off-by: Steve French Signed-off-by: Steve French --- Reading git-diff-tree failed