Re: [PATCH] drm/amdgpu: use first uvd instance to avoid clang build error

2018-06-18 Thread Alex Deucher
On Sun, Jun 17, 2018 at 10:03 PM, James Zhu wrote: > > > On 2018-06-17 04:52 AM, Stefan Agner wrote: >> >> Explicitly use the first uvd instance to avoid a build error when >> using clang 6: >> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1148:52: error: expected ')' >> container_of(wo

Re: [PATCH] drm/amdgpu: use first uvd instance to avoid clang build error

2018-06-17 Thread James Zhu
On 2018-06-17 04:52 AM, Stefan Agner wrote: Explicitly use the first uvd instance to avoid a build error when using clang 6: drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1148:52: error: expected ')' container_of(work, struct amdgpu_device, uvd.inst->idle_work.work);

[PATCH] drm/amdgpu: use first uvd instance to avoid clang build error

2018-06-17 Thread Stefan Agner
Explicitly use the first uvd instance to avoid a build error when using clang 6: drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1148:52: error: expected ')' container_of(work, struct amdgpu_device, uvd.inst->idle_work.work);