Re: [PATCH] drm/amdgpu/powerplay: Clean up errors in smu_helper.h

From: Alex Deucher
Date: Mon Aug 07 2023 - 12:41:17 EST


Applied. Thanks!

On Tue, Aug 1, 2023 at 5:22 AM Ran Sun <sunran001@xxxxxxxxxx> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: space prohibited before that close parenthesis ')'
>
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
> ---
> 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
>