From: Christof Schmitt Date: Fri, 16 Jul 2010 13:37:34 +0000 (+0200) Subject: [SCSI] zfcp: Use memdup_user and kstrdup X-Git-Tag: v2.6.36-rc1~570^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=674c3a993c278b7469e1cf12bfc13e6838dfd877;p=pandora-kernel.git [SCSI] zfcp: Use memdup_user and kstrdup Use the functions memdup_user and kstrdup to allocate memory and copy the data in one step, saving some lines of code. Reviewed-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed