All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault
@ 2022-05-29  7:26 ` sunliming
  0 siblings, 0 replies; 5+ messages in thread
From: sunliming @ 2022-05-29  7:26 UTC (permalink / raw)
  To: alexander.deucher, hristian.koenig, Xinhui.Pan, airlied, daniel,
	Hawking.Zhang, mike, Xiaojian.Du, evan.quan
  Cc: dri-devel, amd-gfx, linux-kernel, sunliming, kelulanainsley,
	kernel test robot

Fixes the following w1 warning:

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5873:2: warning: unannotated
fall-through between switch labels [-Wimplicit-fallthrough].

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: sunliming <sunliming@kylinos.cn>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index cb581cfc7464..628d3536938e 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -6028,6 +6028,7 @@ static void gfx_v11_0_handle_priv_fault(struct amdgpu_device *adev,
 		break;
 	default:
 		BUG();
+		break;
 	}
 }
 
-- 
2.25.1


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

* [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault
@ 2022-05-29  7:26 ` sunliming
  0 siblings, 0 replies; 5+ messages in thread
From: sunliming @ 2022-05-29  7:26 UTC (permalink / raw)
  To: alexander.deucher, hristian.koenig, Xinhui.Pan, airlied, daniel,
	Hawking.Zhang, mike, Xiaojian.Du, evan.quan
  Cc: kernel test robot, kelulanainsley, linux-kernel, amd-gfx,
	sunliming, dri-devel

Fixes the following w1 warning:

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5873:2: warning: unannotated
fall-through between switch labels [-Wimplicit-fallthrough].

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: sunliming <sunliming@kylinos.cn>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index cb581cfc7464..628d3536938e 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -6028,6 +6028,7 @@ static void gfx_v11_0_handle_priv_fault(struct amdgpu_device *adev,
 		break;
 	default:
 		BUG();
+		break;
 	}
 }
 
-- 
2.25.1


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

* Re: [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault
  2022-05-29  7:26 ` sunliming
  (?)
@ 2022-05-31 21:21   ` Alex Deucher
  -1 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2022-05-31 21:21 UTC (permalink / raw)
  To: sunliming
  Cc: Deucher, Alexander, hristian.koenig, xinhui pan, Dave Airlie,
	Daniel Vetter, Hawking Zhang, Mike Lothian, Xiaojian Du, Quan,
	Evan, kernel test robot, kelulanainsley, LKML, amd-gfx list,
	Maling list - DRI developers

Applied.  Thanks!

On Sun, May 29, 2022 at 7:50 AM sunliming <sunliming@kylinos.cn> wrote:
>
> Fixes the following w1 warning:
>
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5873:2: warning: unannotated
> fall-through between switch labels [-Wimplicit-fallthrough].
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: sunliming <sunliming@kylinos.cn>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> index cb581cfc7464..628d3536938e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> @@ -6028,6 +6028,7 @@ static void gfx_v11_0_handle_priv_fault(struct amdgpu_device *adev,
>                 break;
>         default:
>                 BUG();
> +               break;
>         }
>  }
>
> --
> 2.25.1
>

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

* Re: [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault
@ 2022-05-31 21:21   ` Alex Deucher
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2022-05-31 21:21 UTC (permalink / raw)
  To: sunliming
  Cc: kernel test robot, Xiaojian Du, Dave Airlie, kelulanainsley,
	xinhui pan, LKML, amd-gfx list, Maling list - DRI developers,
	hristian.koenig, Deucher, Alexander, Quan, Evan, Hawking Zhang

Applied.  Thanks!

On Sun, May 29, 2022 at 7:50 AM sunliming <sunliming@kylinos.cn> wrote:
>
> Fixes the following w1 warning:
>
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5873:2: warning: unannotated
> fall-through between switch labels [-Wimplicit-fallthrough].
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: sunliming <sunliming@kylinos.cn>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> index cb581cfc7464..628d3536938e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> @@ -6028,6 +6028,7 @@ static void gfx_v11_0_handle_priv_fault(struct amdgpu_device *adev,
>                 break;
>         default:
>                 BUG();
> +               break;
>         }
>  }
>
> --
> 2.25.1
>

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

* Re: [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault
@ 2022-05-31 21:21   ` Alex Deucher
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2022-05-31 21:21 UTC (permalink / raw)
  To: sunliming
  Cc: kernel test robot, Xiaojian Du, Dave Airlie, kelulanainsley,
	xinhui pan, LKML, amd-gfx list, Mike Lothian,
	Maling list - DRI developers, Daniel Vetter, hristian.koenig,
	Deucher, Alexander, Quan, Evan, Hawking Zhang

Applied.  Thanks!

On Sun, May 29, 2022 at 7:50 AM sunliming <sunliming@kylinos.cn> wrote:
>
> Fixes the following w1 warning:
>
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5873:2: warning: unannotated
> fall-through between switch labels [-Wimplicit-fallthrough].
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: sunliming <sunliming@kylinos.cn>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> index cb581cfc7464..628d3536938e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
> @@ -6028,6 +6028,7 @@ static void gfx_v11_0_handle_priv_fault(struct amdgpu_device *adev,
>                 break;
>         default:
>                 BUG();
> +               break;
>         }
>  }
>
> --
> 2.25.1
>

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

end of thread, other threads:[~2022-05-31 21:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-29  7:26 [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault sunliming
2022-05-29  7:26 ` sunliming
2022-05-31 21:21 ` Alex Deucher
2022-05-31 21:21   ` Alex Deucher
2022-05-31 21:21   ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.