diff options
author | Srinivasan Shanmugam <[email protected]> | 2023-07-25 10:09:42 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-07-27 14:59:29 -0400 |
commit | f9acfafc3458653d306a45c71e052df50af1c81d (patch) | |
tree | 5b7c28f1799e353284fb61547c294c06538eb9a8 /scripts/generate_rust_analyzer.py | |
parent | b0bd0a92b8158ea9c809d885e0f0c21518bdbd14 (diff) |
drm/amdgpu: Move externs to amdgpu.h file from amdgpu_drv.c
Fixes the following:
WARNING: externs should be avoided in .c files
+extern const struct attribute_group amdgpu_vram_mgr_attr_group;
WARNING: externs should be avoided in .c files
+extern const struct attribute_group amdgpu_gtt_mgr_attr_group;
WARNING: externs should be avoided in .c files
+extern const struct attribute_group amdgpu_flash_attr_group;
And other style fixes:
WARNING: Block comments should align the * on each line
WARNING: void function return statements are not generally useful
WARNING: braces {} are not necessary for single statement blocks
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Guchun Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions