aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2016-08-16 19:31:00 -0400
committerSumit Semwal <sumit.semwal@linaro.org>2016-08-16 23:49:28 -0400
commit68acb6afb6f56d8ab92352993425b5472cf79a78 (patch)
tree63c536e5138f22f4a43534993569a92c2de829d4
parent5ee4c8f064719f5c62ea53f304845f75f87f2804 (diff)
dma-buf: fix kernel-doc warning and typos
Fix dma-buf kernel-doc warning and 2 minor typos in fence_array_create(). Fixes this warning: ..//drivers/dma-buf/fence-array.c:124: warning: No description found for parameter 'signal_on_any' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Link: http://patchwork.freedesktop.org/patch/msgid/224865a5-947d-9a28-c60a-18fa86bc9329@infradead.org
-rw-r--r--drivers/dma-buf/fence-array.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma-buf/fence-array.c b/drivers/dma-buf/fence-array.c
index ee500226197b..f1989fcaf354 100644
--- a/drivers/dma-buf/fence-array.c
+++ b/drivers/dma-buf/fence-array.c
@@ -107,14 +107,14 @@ EXPORT_SYMBOL(fence_array_ops);
107 * @fences: [in] array containing the fences 107 * @fences: [in] array containing the fences
108 * @context: [in] fence context to use 108 * @context: [in] fence context to use
109 * @seqno: [in] sequence number to use 109 * @seqno: [in] sequence number to use
110 * @signal_on_any [in] signal on any fence in the array 110 * @signal_on_any: [in] signal on any fence in the array
111 * 111 *
112 * Allocate a fence_array object and initialize the base fence with fence_init(). 112 * Allocate a fence_array object and initialize the base fence with fence_init().
113 * In case of error it returns NULL. 113 * In case of error it returns NULL.
114 * 114 *
115 * The caller should allocte the fences array with num_fences size 115 * The caller should allocate the fences array with num_fences size
116 * and fill it with the fences it wants to add to the object. Ownership of this 116 * and fill it with the fences it wants to add to the object. Ownership of this
117 * array is take and fence_put() is used on each fence on release. 117 * array is taken and fence_put() is used on each fence on release.
118 * 118 *
119 * If @signal_on_any is true the fence array signals if any fence in the array 119 * If @signal_on_any is true the fence array signals if any fence in the array
120 * signals, otherwise it signals when all fences in the array signal. 120 * signals, otherwise it signals when all fences in the array signal.