aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-23 17:26:02 +0200
committerSinclair Yeh <syeh@vmware.com>2016-10-10 11:46:53 -0700
commitc138d03f1bf3b9c7bfd449e890cc003658b5c45a (patch)
tree702914fca2f7ea8d5dc80c7f33042a807fc64283 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/vmwgfx: Use kmalloc_array() in vmw_surface_define_ioctl() (diff)
downloadwireguard-linux-c138d03f1bf3b9c7bfd449e890cc003658b5c45a.tar.xz
wireguard-linux-c138d03f1bf3b9c7bfd449e890cc003658b5c45a.zip
drm/vmwgfx: Use memdup_user() rather than duplicating its implementation
* Reuse existing functionality from memdup_user() instead of keeping duplicate source code. * Try this copy operation before allocating memory for the data structure member "offsets". * Delete the local variable "user_sizes" which became unnecessary with this refactoring. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions