reservation: fix small comment typo

Submitted by Rob Clark on Aug. 19, 2016, 8:55 p.m.

Details

Message ID 1471640134-30888-1-git-send-email-robdclark@gmail.com
State New
Headers show
Series "reservation: fix small comment typo" ( rev: 1 ) in DRI devel

Not browsing as part of any series.

Commit Message

Rob Clark Aug. 19, 2016, 8:55 p.m.
Signed-off-by: Rob Clark <robdclark@gmail.com>
---
 drivers/dma-buf/reservation.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/dma-buf/reservation.c b/drivers/dma-buf/reservation.c
index b528edb..1461b51 100644
--- a/drivers/dma-buf/reservation.c
+++ b/drivers/dma-buf/reservation.c
@@ -205,7 +205,7 @@  done:
  * @fence: the shared fence to add
  *
  * Add a fence to a shared slot, obj->lock must be held, and
- * reservation_object_reserve_shared_fence has been called.
+ * reservation_object_reserve_shared has been called.
  */
 void reservation_object_add_shared_fence(struct reservation_object *obj,
 					 struct fence *fence)

Comments

On Fri, Aug 19, 2016 at 04:55:34PM -0400, Rob Clark wrote:
> Signed-off-by: Rob Clark <robdclark@gmail.com>
> ---
>  drivers/dma-buf/reservation.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dma-buf/reservation.c b/drivers/dma-buf/reservation.c
> index b528edb..1461b51 100644
> --- a/drivers/dma-buf/reservation.c
> +++ b/drivers/dma-buf/reservation.c
> @@ -205,7 +205,7 @@ done:
>   * @fence: the shared fence to add
>   *
>   * Add a fence to a shared slot, obj->lock must be held, and
> - * reservation_object_reserve_shared_fence has been called.
> + * reservation_object_reserve_shared has been called.

If you add a () at the end it even becomes a hyperlink in the generated
output. I applied that bikeshed and merged to -misc, thanks.
-Daniel

>   */
>  void reservation_object_add_shared_fence(struct reservation_object *obj,
>  					 struct fence *fence)
> -- 
> 2.7.4
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel