lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 31 Oct 2020 07:32:15 -0700
From:   trix@...hat.com
To:     sudeep.dutt@...el.com, ashutosh.dixit@...el.com, arnd@...db.de,
        gregkh@...uxfoundation.org
Cc:     linux-kernel@...r.kernel.org, Tom Rix <trix@...hat.com>
Subject: [PATCH] misc: mic: cosm: remove unneeded semicolon

From: Tom Rix <trix@...hat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@...hat.com>
---
 drivers/misc/mic/cosm/cosm_scif_server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/mic/cosm/cosm_scif_server.c b/drivers/misc/mic/cosm/cosm_scif_server.c
index 7baec9fd8756..d6e43d42f3d1 100644
--- a/drivers/misc/mic/cosm/cosm_scif_server.c
+++ b/drivers/misc/mic/cosm/cosm_scif_server.c
@@ -114,7 +114,7 @@ static void cosm_shutdown_status_int(struct cosm_device *cdev,
 		dev_err(&cdev->dev, "%s %d Unexpected shutdown_status %d\n",
 			__func__, __LINE__, shutdown_status);
 		return;
-	};
+	}
 	cdev->shutdown_status_int = shutdown_status;
 	cdev->heartbeat_watchdog_enable = false;
 
-- 
2.18.1

Powered by blists - more mailing lists