On Mon, May 9, 2022 at 2:19 PM James Zhu <James.Zhu@xxxxxxx> wrote: > > Fixed warning: no previous prototype for 'vcn_dec_sw_ring_emit_fence'. > > v2: regenerate patch after git rebase. > v3: update commit message. > > Signed-off-by: James Zhu <James.Zhu@xxxxxxx> > Reported-by: kernel test robot <lkp@xxxxxxxxx> Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx> > --- > drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c b/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c > index f4f97f0f5c64..1ceda3d0cd5b 100644 > --- a/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c > +++ b/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c > @@ -22,6 +22,7 @@ > */ > > #include "amdgpu.h" > +#include "vcn_sw_ring.h" > > void vcn_dec_sw_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, > u64 seq, uint32_t flags) > -- > 2.25.1 >