[PATCH] habanalabs: fix semicolon.cocci warnings

kbuild test robot lkp at intel.com
Mon Sep 2 11:56:01 UTC 2019


From: kbuild test robot <lkp at intel.com>

drivers/misc/habanalabs/device.c:552:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 127d20c1da61 ("habanalabs: add uapi to retrieve device utilization")
Signed-off-by: kbuild test robot <lkp at intel.com>
---

tree:   git://people.freedesktop.org/~gabbayo/linux habanalabs-next
head:   f3d40ffeb89564d31295fb01bc04929661e2bbcf
commit: 127d20c1da61045a7903c5d76afe14b3a3a097c2 [25/29] habanalabs: add uapi to retrieve device utilization

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

--- a/drivers/misc/habanalabs/device.c
+++ b/drivers/misc/habanalabs/device.c
@@ -549,7 +549,7 @@ uint32_t hl_device_utilization(struct hl
 		ts = &hdev->idle_busy_ts_arr[last_index];
 
 		overlap_cnt++;
-	};
+	}
 
 	return DIV_ROUND_UP(((total_busy_time_us / USEC_PER_MSEC) * 100),
 				period_ms);


More information about the dri-devel mailing list