diff options
author | 2010-07-16 15:37:34 +0200 | |
---|---|---|
committer | 2010-07-28 09:48:45 -0500 | |
commit | 674c3a993c278b7469e1cf12bfc13e6838dfd877 (patch) | |
tree | 4b52c44b3f9f9dc8f3a0456cf5a391564196dd5d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | [SCSI] zfcp: Fix retry after failed "open port" erp action (diff) | |
download | linux-dev-674c3a993c278b7469e1cf12bfc13e6838dfd877.tar.xz linux-dev-674c3a993c278b7469e1cf12bfc13e6838dfd877.zip |
[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 <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions