summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSudip Mukherjee2016-08-23 19:43:21 +0530
committerGreg Kroah-Hartman2016-08-31 09:24:04 +0200
commitb91796e86b30ffa8e01f4b06f7a81e724c760b6d (patch)
tree5dec907ff68e9ba17cc8ab1cd9cb98b1bc0dcbd0 /tools/perf/scripts/python
parent3b1d75332ea7e397d8127b8d39d1f59ed60e49d2 (diff)
staging: i4l: icn: use memdup_user
Its better to use memdup_user which does the same thing which this code has implemented. Also removed a related warning as we will be warned if allocation fails. Suggested-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions