mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02:00
drm/amdgpu: fix compile warning for ras_block_match_default
fix compile warning for ras_block_match_default Signed-off-by: yipechai <YiPeng.Chai@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
954ea6aa15
commit
e3d833f41c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user