]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/amdgpu: Fix style problems in amdgpu_psp.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Fri, 28 Apr 2023 11:52:20 +0000 (17:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:54:23 +0000 (18:54 +0200)
commit75051649dc7004f4756d3a41b40bbf9b8fb26620
tree2530cd2eb1496c2bc0d7300f8f1dd75779c19db7
parent4037bcabdd4cb03011688c3e74f3d17dd3b82fe1
drm/amd/amdgpu: Fix style problems in amdgpu_psp.c

[ Upstream commit f14c8c3e1fc9e10c6d54999a96acb2b5087374df ]

Fix the following checkpatch warnings & error in amdgpu_psp.c

WARNING: Comparisons should place the constant on the right side of the test
WARNING: braces {} are not necessary for single statement blocks
WARNING: please, no space before tabs
WARNING: braces {} are not necessary for single statement blocks
ERROR: that open brace { should be on the previous line

Suggested-by: Christian König <christian.koenig@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 467e00b30dfe ("drm/amd/amdgpu: Fix missing error return on kzalloc failure")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c