aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorEmilio López <emilio.lopez@collabora.co.uk>2016-09-19 00:21:20 -0400
committerSumit Semwal <sumit.semwal@linaro.org>2016-09-20 08:42:38 -0400
commit823d1bc1082970fc02f8172859c789933ed84bc5 (patch)
tree188bed95876e937cde7259f761e50dc061b44821 /include/uapi
parent7cec540a724654b6b046200c117bb98ea1bc5d04 (diff)
dma-buf/sync_file: fix documentation error
The ioctl name and description on the documentation block don't match the ioctl being defined. This was probably overlooked while renaming the ioctls during the sync file destaging. This patch provides a more accurate description of what the ioctl actually does. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Link: http://patchwork.freedesktop.org/patch/msgid/20160919042120.6280-1-emilio.lopez@collabora.co.uk
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/sync_file.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/uapi/linux/sync_file.h b/include/uapi/linux/sync_file.h
index 413303d37b56..5b287d6970b3 100644
--- a/include/uapi/linux/sync_file.h
+++ b/include/uapi/linux/sync_file.h
@@ -85,15 +85,12 @@ struct sync_file_info {
85#define SYNC_IOC_MERGE _IOWR(SYNC_IOC_MAGIC, 3, struct sync_merge_data) 85#define SYNC_IOC_MERGE _IOWR(SYNC_IOC_MAGIC, 3, struct sync_merge_data)
86 86
87/** 87/**
88 * DOC: SYNC_IOC_FENCE_INFO - get detailed information on a fence 88 * DOC: SYNC_IOC_FILE_INFO - get detailed information on a sync_file
89 * 89 *
90 * Takes a struct sync_file_info_data with extra space allocated for pt_info. 90 * Takes a struct sync_file_info. If num_fences is 0, the field is updated
91 * Caller should write the size of the buffer into len. On return, len is 91 * with the actual number of fences. If num_fences is > 0, the system will
92 * updated to reflect the total size of the sync_file_info_data including 92 * use the pointer provided on sync_fence_info to return up to num_fences of
93 * pt_info. 93 * struct sync_fence_info, with detailed fence information.
94 *
95 * pt_info is a buffer containing sync_pt_infos for every sync_pt in the fence.
96 * To iterate over the sync_pt_infos, use the sync_pt_info.len field.
97 */ 94 */
98#define SYNC_IOC_FILE_INFO _IOWR(SYNC_IOC_MAGIC, 4, struct sync_file_info) 95#define SYNC_IOC_FILE_INFO _IOWR(SYNC_IOC_MAGIC, 4, struct sync_file_info)
99 96