[PATCH i-g-t] lib/xe_spin: Fix doc whitespaces and typo

Lucas De Marchi lucas.demarchi at intel.com
Fri Mar 29 21:12:43 UTC 2024


Fix documentation to follow proper format.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 lib/xe/xe_spin.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/xe/xe_spin.c b/lib/xe/xe_spin.c
index d142f2cac..381e5e950 100644
--- a/lib/xe/xe_spin.c
+++ b/lib/xe/xe_spin.c
@@ -188,12 +188,12 @@ void xe_spin_end(struct xe_spin *spin)
 
 /**
  * xe_spin_create:
- *@opt: controlling options such as allocator handle, exec_queue, vm etc
+ * @opt: controlling options such as allocator handle, exec_queue, vm etc
  *
  * igt_spin_new for xe, xe_spin_create submits a batch using xe_spin_init
  * which wraps around vm bind and unbinding the object associated to it.
- * This returs a spinner after submitting a dummy load.
  *
+ * This returns a spinner after submitting a dummy load.
  */
 igt_spin_t *
 xe_spin_create(int fd, const struct igt_spin_factory *opt)
@@ -260,7 +260,7 @@ void xe_spin_sync_wait(int fd, struct igt_spin *spin)
 
 /*
  * xe_spin_free:
- *@spin: spin state from igt_spin_new()
+ * @spin: spin state from igt_spin_new()
  *
  * Wrapper to free spinner whhich is triggered by xe_spin_create.
  * which distroys vm, exec_queue and unbinds the vm which is binded to
-- 
2.43.0



More information about the igt-dev mailing list