2019-05-18 15:25:17

by Weitao Hou

[permalink] [raw]
Subject: [PATCH] gpu: fix typos in code comments

fix eror to error

Signed-off-by: Weitao Hou <[email protected]>
---
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
index f70437aae8e0..df422440845b 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
@@ -183,8 +183,8 @@ static bool calculate_fb_and_fractional_fb_divider(
*RETURNS:
* It fills the PLLSettings structure with PLL Dividers values
* if calculated values are within required tolerance
-* It returns - true if eror is within tolerance
-* - false if eror is not within tolerance
+* It returns - true if error is within tolerance
+* - false if error is not within tolerance
*/
static bool calc_fb_divider_checking_tolerance(
struct calc_pll_clock_source *calc_pll_cs,
--
2.18.0


2019-05-20 18:20:26

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] gpu: fix typos in code comments

On Mon, May 20, 2019 at 1:04 PM Weitao Hou <[email protected]> wrote:
>
> fix eror to error
>
> Signed-off-by: Weitao Hou <[email protected]>

Applied. Thanks!

Alex

> ---
> drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
> index f70437aae8e0..df422440845b 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
> @@ -183,8 +183,8 @@ static bool calculate_fb_and_fractional_fb_divider(
> *RETURNS:
> * It fills the PLLSettings structure with PLL Dividers values
> * if calculated values are within required tolerance
> -* It returns - true if eror is within tolerance
> -* - false if eror is not within tolerance
> +* It returns - true if error is within tolerance
> +* - false if error is not within tolerance
> */
> static bool calc_fb_divider_checking_tolerance(
> struct calc_pll_clock_source *calc_pll_cs,
> --
> 2.18.0
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx