mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
drm/radeon/si: Fix inconsistent indenting
Kernel test robot throws below warning -> smatch warnings: drivers/gpu/drm/radeon/si.c:4514 si_vm_packet3_cp_dma_check() warn: inconsistent indenting Fixed the inconsistent indenting. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
bbdfe5aaef
commit
611ed9a5a1
1 changed files with 1 additions and 1 deletions
|
@ -4511,7 +4511,7 @@ static int si_vm_packet3_cp_dma_check(u32 *ib, u32 idx)
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < (command & 0x1fffff); i++) {
|
for (i = 0; i < (command & 0x1fffff); i++) {
|
||||||
reg = start_reg + (4 * i);
|
reg = start_reg + (4 * i);
|
||||||
if (!si_vm_reg_valid(reg)) {
|
if (!si_vm_reg_valid(reg)) {
|
||||||
DRM_ERROR("CP DMA Bad DST register\n");
|
DRM_ERROR("CP DMA Bad DST register\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue