projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
954ea6a
)
drm/amdgpu: fix compile warning for ras_block_match_default
author
yipechai
<YiPeng.Chai@amd.com>
Thu, 13 Jan 2022 03:29:55 +0000
(11:29 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:52:44 +0000
(17:52 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index
9864f73
..
0bb6b53
100644
(file)
--- 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;