]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7544ecb040e81f951d9a6572bd2dc285f4e1c86c
treea1662adb3a114205bde1bd931b023cef2cfafd2a
parent6687ba8f08b03995d59d9cd7739e60ea2758c431
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