From: Sebastian Andrzej Siewior Date: Thu, 29 Nov 2012 19:29:01 +0000 (+0100) Subject: iscsi-target: use kstrdup() for iscsi_param X-Git-Tag: v3.8-rc1~94^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed72a4d52add345595f09b360d6ac5f20428d361;p=pandora-kernel.git iscsi-target: use kstrdup() for iscsi_param The kmalloc() + strlen() + memcpy() block is what kstrdup() does as well. While here I also removed the "to NULL assignment" of pointers which are fed to kfree or thrown away anyway. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed