Re: [PATCH] drm/radeon: fix typo in comments

Christoph Böhmwalder <[email protected]>
Newsgroups dev.linux.lists.drbd-dev,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Am 28.07.26 um 11:05 schrieb Guo Tenglong:
> Correct "sucess" to "success" in function comments.
> 
> Signed-off-by: Guo Tenglong <[email protected]>
> ---
>  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.