summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-02-13 13:18:31 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-02-16 00:59:45 +0300
commit2f36028ce98ef8e9c04809cc20b9dc498cc1a508 (patch)
tree72e1fb9014573f63e80d6558dcd4826239202849 /tools/perf/scripts/python/export-to-postgresql.py
parent6c976c30ad1c205bd6e34182c5ba9a1267d752ca (diff)
downloadlinux-2f36028ce98ef8e9c04809cc20b9dc498cc1a508.tar.xz
IB/uverbs: Use u64_to_user_ptr() not a union
The union approach will get the endianness wrong sometimes if the kernel's pointer size is 32 bits resulting in EFAULTs when trying to copy to/from user. Signed-off-by: Leon Romanovsky <leon@kernel.org> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions