The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: fix typo in comments
@ 2026-07-28  8:28 Guo Tenglong
  0 siblings, 0 replies; 5+ messages in thread
From: Guo Tenglong @ 2026-07-28  8:28 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Christian König, David Airlie, Simona Vetter, amd-gfx,
	dri-devel, linux-kernel, Guo Tenglong

Correct "sucess" to "success" in function comments.

Signed-off-by: Guo Tenglong <micronull@163.com>
---
 drivers/gpu/drm/radeon/radeon_device.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 705c012fc..fb79c990a 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -777,7 +777,7 @@ bool radeon_boot_test_post_card(struct radeon_device *rdev)
  * Allocate the dummy page used by the driver (all asics).
  * This dummy page is used by the driver as a filler for gart entries
  * when pages are taken out of the GART
- * Returns 0 on sucess, -ENOMEM on failure.
+ * Returns 0 on success, -ENOMEM on failure.
  */
 int radeon_dummy_page_init(struct radeon_device *rdev)
 {
@@ -969,7 +969,7 @@ static uint32_t cail_ioreg_read(struct card_info *info, uint32_t reg)
  *
  * Initializes the driver info and register access callbacks for the
  * ATOM interpreter (r4xx+).
- * Returns 0 on sucess, -ENOMEM on failure.
+ * Returns 0 on success, -ENOMEM on failure.
  * Called at driver startup.
  */
 int radeon_atombios_init(struct radeon_device *rdev)
@@ -1045,7 +1045,7 @@ void radeon_atombios_fini(struct radeon_device *rdev)
  * @rdev: radeon_device pointer
  *
  * Initializes the driver info for combios (r1xx-r3xx).
- * Returns 0 on sucess.
+ * Returns 0 on success.
  * Called at driver startup.
  */
 int radeon_combios_init(struct radeon_device *rdev)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] drbd: fix typo in comment
@ 2026-07-28  9:05 Guo Tenglong
  2026-07-28  9:05 ` [PATCH] drm/radeon: fix typo in comments Guo Tenglong
  2026-08-10 11:11 ` [PATCH] drbd: fix typo in comment Christoph Böhmwalder
  0 siblings, 2 replies; 5+ messages in thread
From: Guo Tenglong @ 2026-07-28  9:05 UTC (permalink / raw)
  To: Philipp Reisner
  Cc: Lars Ellenberg, Christoph Böhmwalder, Jens Axboe, drbd-dev,
	linux-block, linux-kernel, Guo Tenglong

Correct "seperate" to "separate" in a comment.

Signed-off-by: Guo Tenglong <micronull@163.com>
---
 drivers/block/drbd/drbd_state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c
index adcba7f1d..98abd2351 100644
--- a/drivers/block/drbd/drbd_state.c
+++ b/drivers/block/drbd/drbd_state.c
@@ -1339,7 +1339,7 @@ _drbd_set_state(struct drbd_device *device, union drbd_state ns,
 
 	remember_new_state(state_change);
 
-	/* put replicated vs not-replicated requests in seperate epochs */
+	/* put replicated vs not-replicated requests in separate epochs */
 	if (drbd_should_do_remote((union drbd_dev_state)os.i) !=
 	    drbd_should_do_remote((union drbd_dev_state)ns.i))
 		start_new_tl_epoch(connection);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] drm/radeon: fix typo in comments
  2026-07-28  9:05 [PATCH] drbd: fix typo in comment Guo Tenglong
@ 2026-07-28  9:05 ` Guo Tenglong
  2026-08-10 11:13   ` Christoph Böhmwalder
  2026-08-10 11:11 ` [PATCH] drbd: fix typo in comment Christoph Böhmwalder
  1 sibling, 1 reply; 5+ messages in thread
From: Guo Tenglong @ 2026-07-28  9:05 UTC (permalink / raw)
  To: Philipp Reisner
  Cc: Lars Ellenberg, Christoph Böhmwalder, Jens Axboe, drbd-dev,
	linux-block, linux-kernel, Guo Tenglong

Correct "sucess" to "success" in function comments.

Signed-off-by: Guo Tenglong <micronull@163.com>
---
 drivers/gpu/drm/radeon/radeon_device.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 705c012fc..fb79c990a 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -777,7 +777,7 @@ bool radeon_boot_test_post_card(struct radeon_device *rdev)
  * Allocate the dummy page used by the driver (all asics).
  * This dummy page is used by the driver as a filler for gart entries
  * when pages are taken out of the GART
- * Returns 0 on sucess, -ENOMEM on failure.
+ * Returns 0 on success, -ENOMEM on failure.
  */
 int radeon_dummy_page_init(struct radeon_device *rdev)
 {
@@ -969,7 +969,7 @@ static uint32_t cail_ioreg_read(struct card_info *info, uint32_t reg)
  *
  * Initializes the driver info and register access callbacks for the
  * ATOM interpreter (r4xx+).
- * Returns 0 on sucess, -ENOMEM on failure.
+ * Returns 0 on success, -ENOMEM on failure.
  * Called at driver startup.
  */
 int radeon_atombios_init(struct radeon_device *rdev)
@@ -1045,7 +1045,7 @@ void radeon_atombios_fini(struct radeon_device *rdev)
  * @rdev: radeon_device pointer
  *
  * Initializes the driver info for combios (r1xx-r3xx).
- * Returns 0 on sucess.
+ * Returns 0 on success.
  * Called at driver startup.
  */
 int radeon_combios_init(struct radeon_device *rdev)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] drbd: fix typo in comment
  2026-07-28  9:05 [PATCH] drbd: fix typo in comment Guo Tenglong
  2026-07-28  9:05 ` [PATCH] drm/radeon: fix typo in comments Guo Tenglong
@ 2026-08-10 11:11 ` Christoph Böhmwalder
  1 sibling, 0 replies; 5+ messages in thread
From: Christoph Böhmwalder @ 2026-08-10 11:11 UTC (permalink / raw)
  To: Guo Tenglong, Philipp Reisner
  Cc: Lars Ellenberg, Jens Axboe, drbd-dev, linux-block, linux-kernel



Am 28.07.26 um 11:05 schrieb Guo Tenglong:
> Correct "seperate" to "separate" in a comment.
> 
> Signed-off-by: Guo Tenglong <micronull@163.com>
> ---
>  drivers/block/drbd/drbd_state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c
> index adcba7f1d..98abd2351 100644
> --- a/drivers/block/drbd/drbd_state.c
> +++ b/drivers/block/drbd/drbd_state.c
> @@ -1339,7 +1339,7 @@ _drbd_set_state(struct drbd_device *device, union drbd_state ns,
>  
>  	remember_new_state(state_change);
>  
> -	/* put replicated vs not-replicated requests in seperate epochs */
> +	/* put replicated vs not-replicated requests in separate epochs */
>  	if (drbd_should_do_remote((union drbd_dev_state)os.i) !=
>  	    drbd_should_do_remote((union drbd_dev_state)ns.i))
>  		start_new_tl_epoch(connection);

Thanks for the patch.
Typo fixes like this are generally only worth it if they come with a
"real" fix in the same general reason. On their own, they just cause
more work for the maintainers involved with no real benefit --
especially in this case, where I initially struggled to even see the
difference.

NAK.

-- 
Christoph Böhmwalder
LINBIT | Keeping the Digital World Running
DRBD HA —  Disaster Recovery — Software defined Storage


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/radeon: fix typo in comments
  2026-07-28  9:05 ` [PATCH] drm/radeon: fix typo in comments Guo Tenglong
@ 2026-08-10 11:13   ` Christoph Böhmwalder
  0 siblings, 0 replies; 5+ messages in thread
From: Christoph Böhmwalder @ 2026-08-10 11:13 UTC (permalink / raw)
  To: Guo Tenglong, Philipp Reisner
  Cc: Lars Ellenberg, Jens Axboe, drbd-dev, linux-block, linux-kernel

Am 28.07.26 um 11:05 schrieb Guo Tenglong:
> Correct "sucess" to "success" in function comments.
> 
> Signed-off-by: Guo Tenglong <micronull@163.com>
> ---
>  drivers/gpu/drm/radeon/radeon_device.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
> index 705c012fc..fb79c990a 100644
> --- a/drivers/gpu/drm/radeon/radeon_device.c
> +++ b/drivers/gpu/drm/radeon/radeon_device.c
> @@ -777,7 +777,7 @@ bool radeon_boot_test_post_card(struct radeon_device *rdev)
>   * Allocate the dummy page used by the driver (all asics).
>   * This dummy page is used by the driver as a filler for gart entries
>   * when pages are taken out of the GART
> - * Returns 0 on sucess, -ENOMEM on failure.
> + * Returns 0 on success, -ENOMEM on failure.
>   */
>  int radeon_dummy_page_init(struct radeon_device *rdev)
>  {
> @@ -969,7 +969,7 @@ static uint32_t cail_ioreg_read(struct card_info *info, uint32_t reg)
>   *
>   * Initializes the driver info and register access callbacks for the
>   * ATOM interpreter (r4xx+).
> - * Returns 0 on sucess, -ENOMEM on failure.
> + * Returns 0 on success, -ENOMEM on failure.
>   * Called at driver startup.
>   */
>  int radeon_atombios_init(struct radeon_device *rdev)
> @@ -1045,7 +1045,7 @@ void radeon_atombios_fini(struct radeon_device *rdev)
>   * @rdev: radeon_device pointer
>   *
>   * Initializes the driver info for combios (r1xx-r3xx).
> - * Returns 0 on sucess.
> + * Returns 0 on success.
>   * Called at driver startup.
>   */
>  int radeon_combios_init(struct radeon_device *rdev)

This seems to have been sent to the wrong maintainers. But I suspect
they would have the same reasoning as me about the usefulness of these
fixes.

-- 
Christoph Böhmwalder
LINBIT | Keeping the Digital World Running
DRBD HA —  Disaster Recovery — Software defined Storage


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-10 11:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28  9:05 [PATCH] drbd: fix typo in comment Guo Tenglong
2026-07-28  9:05 ` [PATCH] drm/radeon: fix typo in comments Guo Tenglong
2026-08-10 11:13   ` Christoph Böhmwalder
2026-08-10 11:11 ` [PATCH] drbd: fix typo in comment Christoph Böhmwalder
  -- strict thread matches above, loose matches on Subject: below --
2026-07-28  8:28 [PATCH] drm/radeon: fix typo in comments Guo Tenglong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox