Re: [PATCH] drm/amd/amdgpu: Fix errors & warnings in amdgpu_vcn.c

2023-05-17 Thread Luben Tuikov
Acked-by: Luben Tuikov Regards, Luben On 2023-05-17 11:13, Srinivasan Shanmugam wrote: > Fix below checkpatch insisted error & warnings: > > ERROR: space required before the open brace '{' > WARNING: braces {} are not necessary for any arm of this statement > + if ((type == VCN_ENCODE_RIN

[PATCH] drm/amd/amdgpu: Fix errors & warnings in amdgpu_vcn.c

2023-05-17 Thread Srinivasan Shanmugam
Fix below checkpatch insisted error & warnings: ERROR: space required before the open brace '{' WARNING: braces {} are not necessary for any arm of this statement + if ((type == VCN_ENCODE_RING) && (vcn_config & VCN_BLOCK_ENCODE_DISABLE_MASK)) { [...] + } else if ((type == VCN_DECODE_