[PATCH] drm/nouveau/core: fix semicolon.cocci warnings

kbuild test robot fengguang.wu at intel.com
Wed Apr 13 00:11:02 UTC 2016


drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c:280:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Alexandre Courbot <acourbot at nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 base.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c
@@ -277,7 +277,7 @@ nvkm_secboot_ctor(const struct nvkm_secb
 	default:
 		nvkm_error(&sb->subdev, "invalid secure boot falcon\n");
 		return -EINVAL;
-	};
+	}
 
 	nvkm_debug(&sb->subdev, "securely managed falcons:\n");
 	for_each_set_bit(fid, &sb->func->managed_falcons,


More information about the dri-devel mailing list