drm/amdgpu: Fix the code style warnings in amdgpu_ras
authoryipechai <YiPeng.Chai@amd.com>
Fri, 14 Jan 2022 02:24:30 +0000 (10:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jan 2022 22:23:58 +0000 (17:23 -0500)
commitb6efdb02d23ef615464cd0077c211b40a1faca26
treea1662adb3a114205bde1bd931b023cef2cfafd2a
parent03f6fb84bd0e98a7b929aef5f308b8e3f2f24a0d
drm/amdgpu: Fix the code style warnings in amdgpu_ras

Fix the code style warnings in amdgpu_ras:
1. ERROR: space required before the open parenthesis '('.
2. WARNING: line length of xxx exceeds 100 columns.
3. ERROR: "foo* bar" should be "foo *bar".
4. WARNING: unnecessary whitespace before a quoted newline.
5. WARNING: space prohibited before semicolon.
6. WARNING: suspect code indent for conditional statements.
7. WARNING: braces {} are not necessary for single statement blocks.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h