diff options
author | Bernard Zhao <bernard@vivo.com> | 2021-03-31 06:12:03 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:50:31 -0400 |
commit | f08726868c7543e0754212dcadae0d6911f721bd (patch) | |
tree | b5a8e705b0e82d2e19d5ef3483a7f6cc6ea5715a /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | |
parent | ccc4343041f21023a321ba36c5de8dff2ba6121a (diff) |
drm/amd: cleanup coding style a bit
Fix patch check warning:
WARNING: suspect code indent for conditional statements (8, 17)
+ if (obj && obj->use < 0) {
+ DRM_ERROR("RAS ERROR: Unbalance obj(%s) use\n", obj->head.name);
WARNING: braces {} are not necessary for single statement blocks
+ if (obj && obj->use < 0) {
+ DRM_ERROR("RAS ERROR: Unbalance obj(%s) use\n", obj->head.name);
+ }
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c')
0 files changed, 0 insertions, 0 deletions