[PATCH] drm/amdgpu: fix semicolon.cocci warnings
kbuild test robot
lkp at intel.com
Wed Mar 6 05:26:11 UTC 2019
From: kbuild test robot <lkp at intel.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:435:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: 1381f5b10b10 ("drm/amdgpu: add amdgpu_ras.c to support ras (v2)")
CC: xinhui pan <xinhui.pan at amd.com>
Signed-off-by: kbuild test robot <fengguang.wu at intel.com>
---
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-5.2-wip
head: 5b1489e11b0d36226c0192b3ce18f5654fd15243
commit: 1381f5b10b10f8f88d01ca43be9161aeed1d68a2 [264/283] drm/amdgpu: add amdgpu_ras.c to support ras (v2)
amdgpu_ras.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -402,7 +402,7 @@ static int amdgpu_ras_disable_all_featur
if (amdgpu_ras_feature_enable(adev, &obj->head, 0))
break;
}
- };
+ }
return con->features;
}
@@ -432,7 +432,7 @@ static int amdgpu_ras_enable_all_feature
if (amdgpu_ras_feature_enable(adev, &head, 1))
break;
}
- };
+ }
return con->features;
}
More information about the dri-devel
mailing list