summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h
diff options
context:
space:
mode:
authoryipechai <YiPeng.Chai@amd.com>2022-01-14 10:40:15 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-01-18 17:24:24 -0500
commit71b6c4a277dbb2594c260ccedcafaef5154b0da0 (patch)
tree4eead1987d69be8f903edd2ef15a2f4aff75647d /drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h
parent8697a19ee955e32fe298b00feb0c61fc75cb5261 (diff)
downloadlinux-71b6c4a277dbb2594c260ccedcafaef5154b0da0.tar.bz2
drm/amdgpu: Fix the code style warnings in hdp xgmi mca and umc
drm/amdgpu: Fix the code style warnings in hdp xgmi mca and umc: 1. WARNING: missing space after struct definition. 2. WARNING: please, no space before tabs. 3. WARNING: line length of xxx exceeds 100 columns. 4. ERROR: "foo* bar" should be "foo *bar". 5. ERROR: space required before the open parenthesis '('. 6. ERROR: space prohibited after that open parenthesis '('. Signed-off-by: yipechai <YiPeng.Chai@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h
index c94a4b3c8d6d..4af2c2a322e7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h
@@ -24,7 +24,7 @@
#define __AMDGPU_HDP_H__
#include "amdgpu_ras.h"
-struct amdgpu_hdp_ras{
+struct amdgpu_hdp_ras {
struct amdgpu_ras_block_object ras_block;
};
@@ -40,7 +40,7 @@ struct amdgpu_hdp_funcs {
struct amdgpu_hdp {
struct ras_common_if *ras_if;
const struct amdgpu_hdp_funcs *funcs;
- struct amdgpu_hdp_ras *ras;
+ struct amdgpu_hdp_ras *ras;
};
int amdgpu_hdp_ras_late_init(struct amdgpu_device *adev, void *ras_info);