diff options
author | sunliming <sunliming@kylinos.cn> | 2022-05-29 09:26:31 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-01 21:57:08 +0200 |
commit | 418214ddcf6e79e4e572f8c7a18e1de7cab195b4 (patch) | |
tree | 6602837711cedd67871aa0a8009b0c38c201d6be /drivers/gpu | |
parent | drm/amdgpu: fix aper_base for APU (diff) | |
download | linux-418214ddcf6e79e4e572f8c7a18e1de7cab195b4.tar.xz linux-418214ddcf6e79e4e572f8c7a18e1de7cab195b4.zip |
drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault
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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index 8c0a3fc7aaa6..4353192ecd99 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; } } |