diff mbox series

docs:mm: Fixed typos/spelling mistakes in drm translation table manager documentation

Message ID 20240810164637.39436-1-dennis.lamerice@gmail.com (mailing list archive)
State New, archived
Headers show
Series docs:mm: Fixed typos/spelling mistakes in drm translation table manager documentation | expand

Commit Message

Dennis Lam Aug. 10, 2024, 4:45 p.m. UTC
---
Spelling errors fixed: successe, inistilize, and ddestroy.

 drivers/gpu/drm/ttm/ttm_pool.c     | 2 +-
 drivers/gpu/drm/ttm/ttm_resource.c | 2 +-
 include/drm/ttm/ttm_device.h       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_pool.c
index 6e1fd6985ffc..b6bad150aab6 100644
--- a/drivers/gpu/drm/ttm/ttm_pool.c
+++ b/drivers/gpu/drm/ttm/ttm_pool.c
@@ -423,7 +423,7 @@  static void ttm_pool_free_range(struct ttm_pool *pool, struct ttm_tt *tt,
  * Fill the ttm_tt object with pages and also make sure to DMA map them when
  * necessary.
  *
- * Returns: 0 on successe, negative error code otherwise.
+ * Returns: 0 on success, negative error code otherwise.
  */
 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt,
 		   struct ttm_operation_ctx *ctx)
diff --git a/drivers/gpu/drm/ttm/ttm_resource.c b/drivers/gpu/drm/ttm/ttm_resource.c
index 4a66b851b67d..ec76151bc070 100644
--- a/drivers/gpu/drm/ttm/ttm_resource.c
+++ b/drivers/gpu/drm/ttm/ttm_resource.c
@@ -174,7 +174,7 @@  void ttm_resource_move_to_lru_tail(struct ttm_resource *res)
  * ttm_resource_init - resource object constructure
  * @bo: buffer object this resources is allocated for
  * @place: placement of the resource
- * @res: the resource object to inistilize
+ * @res: the resource object to initialize
  *
  * Initialize a new resource object. Counterpart of ttm_resource_fini().
  */
diff --git a/include/drm/ttm/ttm_device.h b/include/drm/ttm/ttm_device.h
index c22f30535c84..3e8f7f74f7b6 100644
--- a/include/drm/ttm/ttm_device.h
+++ b/include/drm/ttm/ttm_device.h
@@ -247,7 +247,7 @@  struct ttm_device {
 	struct ttm_pool pool;
 
 	/**
-	 * @lru_lock: Protection for the per manager LRU and ddestroy lists.
+	 * @lru_lock: Protection for the per manager LRU and destroy lists.
 	 */
 	spinlock_t lru_lock;