[PATCH] drm/amdgpu: Avoid possibly uninitialized variable

2015-08-14 Thread Christian König
On 14.08.2015 13:52, Thierry Reding wrote: > From: Thierry Reding > > The min_ctx_size is only initialized for H265, so garbage will end up in > buf_sizes[4] for all other stream types. Better initialize the value to > 0 to avoid unpleasant surprises. > > Signed-off-by: Thierry Reding Reviewed-b

[PATCH] drm/amdgpu: Avoid possibly uninitialized variable

2015-08-14 Thread Thierry Reding
From: Thierry Reding The min_ctx_size is only initialized for H265, so garbage will end up in buf_sizes[4] for all other stream types. Better initialize the value to 0 to avoid unpleasant surprises. Signed-off-by: Thierry Reding --- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 2 +- 1 file change