diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-02 11:05:21 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-02 11:17:19 +0000 |
commit | 39858a1e752f8f26250171e8658388f0853c176c (patch) | |
tree | b38b348c71faecca5f4b68b30c3500bd29c9b0cd /lib/sw_sync.c | |
parent | 4de67b26788c60c19254c3e69e151ee200453895 (diff) |
lib: Mass conversion to to_user_pointer()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/sw_sync.c')
-rw-r--r-- | lib/sw_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sw_sync.c b/lib/sw_sync.c index 017a1394..04585261 100644 --- a/lib/sw_sync.c +++ b/lib/sw_sync.c @@ -208,7 +208,7 @@ static int __sync_fence_count_status(int fd, int status) if (!fence_info) return -ENOMEM; - info.sync_fence_info = (uintptr_t)fence_info; + info.sync_fence_info = to_user_pointer(fence_info); if (ioctl(fd, LOCAL_SYNC_IOC_FILE_INFO, &info)) { count = -errno; } else { |