mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: fix typo in comments
@ 2026-07-28  8:28 Guo Tenglong
  0 siblings, 0 replies; 3+ 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	[flat|nested] 3+ 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; 3+ 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] 3+ 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
  0 siblings, 1 reply; 3+ 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	[flat|nested] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28  8:28 [PATCH] drm/radeon: fix typo in comments Guo Tenglong
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

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

all inboxes | Powered by JetHome®