git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7bd7c3
)
[SCSI] zfcp: Use memdup_user and kstrdup
author
Christof Schmitt
<christof.schmitt@de.ibm.com>
Fri, 16 Jul 2010 13:37:34 +0000
(15:37 +0200)
committer
James Bottomley
<James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:48:45 +0000
(09:48 -0500)
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 <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
No differences found