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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 17 Sep 2020 19:16:30 +0800
From:   kernel test robot <lkp@...el.com>
To:     Parav Pandit <parav@...dia.com>, davem@...emloft.net,
        kuba@...nel.org, netdev@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, Parav Pandit <parav@...dia.com>,
        Jiri Pirko <jiri@...dia.com>
Subject: [PATCH] netdevsim: fix semicolon.cocci warnings

From: kernel test robot <lkp@...el.com>

drivers/net/netdevsim/port_function.c:122:2-3: Unneeded semicolon
drivers/net/netdevsim/port_function.c:140:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Parav Pandit <parav@...dia.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---

url:    https://github.com/0day-ci/linux/commits/Parav-Pandit/devlink-Add-SF-add-delete-devlink-ops/20200917-162417
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git b948577b984a01d24d401d2264efbccc7f0146c1

 port_function.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/net/netdevsim/port_function.c
+++ b/drivers/net/netdevsim/port_function.c
@@ -119,7 +119,7 @@ nsim_devlink_port_function_alloc(struct
 		break;
 	default:
 		break;
-	};
+	}
 	return port;
 
 fn_ida_err:
@@ -137,7 +137,7 @@ static void nsim_devlink_port_function_f
 		break;
 	default:
 		break;
-	};
+	}
 	ida_simple_remove(&dev->port_functions.ida, port->port_index);
 	free_netdev(port->netdev);
 }

Powered by blists - more mailing lists