[AMD Official Use Only] The subject can be simplified as "fix compile warning for ras_block_match_default", with that fixed the series is:
Reviewed-by: Tao Zhou <[email protected]> > -----Original Message----- > From: Chai, Thomas <[email protected]> > Sent: Thursday, January 13, 2022 6:32 PM > To: [email protected] > Cc: Chai, Thomas <[email protected]>; Zhang, Hawking > <[email protected]>; Zhou1, Tao <[email protected]>; Clements, > John <[email protected]>; Chai, Thomas <[email protected]> > Subject: [PATCH V2 2/2] drm/amdgpu: To eliminate the warning of no previous > prototype for 'amdgpu_ras_block_match_default' > > To eliminate the warning of no previous prototype for > 'amdgpu_ras_block_match_default'. > > Fix compile warnings. > > Signed-off-by: yipechai <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c > b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c > index 394a18e3c6af..7afeec4255bd 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c > @@ -869,7 +869,8 @@ static int amdgpu_ras_enable_all_features(struct > amdgpu_device *adev, } > /* feature ctl end */ > > -int amdgpu_ras_block_match_default(struct amdgpu_ras_block_object* > block_obj, enum amdgpu_ras_block block) > +static int amdgpu_ras_block_match_default(struct amdgpu_ras_block_object > *block_obj, > + enum amdgpu_ras_block block) > { > if(!block_obj) > return -EINVAL; > -- > 2.25.1
