mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/amd/pm: Clean up errors in vega12_hwmgr.h
@ 2023-08-01  9:38 Ran Sun
  2023-08-07 16:49 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Ran Sun @ 2023-08-01  9:38 UTC (permalink / raw)
  To: alexander.deucher, airlied, daniel
  Cc: amd-gfx, dri-devel, linux-kernel, Ran Sun

Fix the following errors reported by checkpatch:

ERROR: open brace '{' following enum go on the same line

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h
index aa63ae41942d..9f2ce4308548 100644
--- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h
+++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h
@@ -38,8 +38,7 @@
 #define VG12_PSUEDO_NUM_DCEFCLK_DPM_LEVELS  8
 #define VG12_PSUEDO_NUM_UCLK_DPM_LEVELS     4
 
-enum
-{
+enum {
 	GNLD_DPM_PREFETCHER = 0,
 	GNLD_DPM_GFXCLK,
 	GNLD_DPM_UCLK,
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amd/pm: Clean up errors in vega12_hwmgr.h
  2023-08-01  9:38 [PATCH] drm/amd/pm: Clean up errors in vega12_hwmgr.h Ran Sun
@ 2023-08-07 16:49 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2023-08-07 16:49 UTC (permalink / raw)
  To: Ran Sun
  Cc: alexander.deucher, airlied, daniel, dri-devel, amd-gfx, linux-kernel

Applied.  Thanks!

On Tue, Aug 1, 2023 at 5:38 AM Ran Sun <sunran001@208suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: open brace '{' following enum go on the same line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
>  drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h
> index aa63ae41942d..9f2ce4308548 100644
> --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h
> +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h
> @@ -38,8 +38,7 @@
>  #define VG12_PSUEDO_NUM_DCEFCLK_DPM_LEVELS  8
>  #define VG12_PSUEDO_NUM_UCLK_DPM_LEVELS     4
>
> -enum
> -{
> +enum {
>         GNLD_DPM_PREFETCHER = 0,
>         GNLD_DPM_GFXCLK,
>         GNLD_DPM_UCLK,
> --
> 2.17.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-07 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-01  9:38 [PATCH] drm/amd/pm: Clean up errors in vega12_hwmgr.h Ran Sun
2023-08-07 16:49 ` Alex Deucher

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®