I just sent these same three fixes earlier today: https://patchwork.freedesktop.org/series/98695/
Alex On Mon, Jan 10, 2022 at 6:39 PM Rodrigo Siqueira <rodrigo.sique...@amd.com> wrote: > > We have the following GCC warning: > > drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h:400:10: > error: ‘struct amdgpu_iv_entry’ declared inside parameter list will not > be visible outside of this definition or declaration [-Werror] > 400 | struct amdgpu_iv_entry *entry); > > Silent this warning > > Signed-off-by: Rodrigo Siqueira <rodrigo.sique...@amd.com> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h > b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h > index f604a2235a9c..62f1f97ef7f4 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h > @@ -395,6 +395,7 @@ struct ras_err_handler_data { > int space_left; > }; > > +struct amdgpu_iv_entry; > typedef int (*ras_ih_cb)(struct amdgpu_device *adev, > void *err_data, > struct amdgpu_iv_entry *entry); > -- > 2.25.1 >