[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_MOWKO0q=7+oVtqGbqreH-cpTMyK_PCY-4Dp4Z-wTi2cw@mail.gmail.com>
Date: Mon, 7 Aug 2023 12:41:00 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Ran Sun <sunran001@...suo.com>
Cc: alexander.deucher@....com, airlied@...il.com, daniel@...ll.ch,
dri-devel@...ts.freedesktop.org, amd-gfx@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/amdgpu/powerplay: Clean up errors in smu_helper.h
Applied. Thanks!
On Tue, Aug 1, 2023 at 5:22 AM Ran Sun <sunran001@...suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: space prohibited before that close parenthesis ')'
>
> Signed-off-by: Ran Sun <sunran001@...suo.com>
> ---
> drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h
> index 2a75da1e9f03..83b3c9315143 100644
> --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h
> +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h
> @@ -194,7 +194,7 @@ int smu_set_watermarks_for_clocks_ranges(void *wt_table,
> #define PHM_WAIT_INDIRECT_FIELD_UNEQUAL(hwmgr, port, reg, field, fieldval) \
> PHM_WAIT_INDIRECT_REGISTER_UNEQUAL(hwmgr, port, reg, \
> (fieldval) << PHM_FIELD_SHIFT(reg, field), \
> - PHM_FIELD_MASK(reg, field) )
> + PHM_FIELD_MASK(reg, field))
>
>
> #define PHM_WAIT_VFPF_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, \
> --
> 2.17.1
>
Powered by blists - more mailing lists