drm/amdgpu: clear build warning
Subsystems (2)
PATCH 1/1 drm/amdgpu: clear build warning
Clear build warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]. Introduced by commits:bc0123e4f0d8d072a3144e7662846c5221245dc3
--- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +2 -1
@@ -525,11 +525,12 @@ static int uvd_v6_0_hw_init(void *handle) } done: -if (!r) +if (!r) {if (uvd_v6_0_enc_support (adev))DRM_INFO ("UVD and UVD ENC initialized successfully.\n" );else DRM_INFO ("UVD initialized successfully.\n" ); + }return r; }
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1507116865-15334-1-git-send-email-James.Zhu-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 7 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of James Zhu
Sent: Wednesday, October 04, 2017 7:34 AM
To: [email protected]
Subject: [PATCH] drm/amdgpu: clear build warning
Quoted 5 lines
Clear build warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]. Introduced by commits:
bc0123e4f0d8d072a3144e7662846c5221245dc3Signed-off-by James Zhu <[email protected]>
Quoted 27 lines
--- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +2
-1@@ -525,11 +525,12 @@ static int uvd_v6_0_hw_init(void *handle) } done: -if (!r) +if (!r) {if (uvd_v6_0_enc_support (adev)) DRM_INFO("UVD and UVD ENC initialized successfully.\n");else DRM_INFO ("UVD initialized successfully.\n" ); + }return r;}
--
2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx