aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/netdevsim/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netdevsim/bus.c b/drivers/net/netdevsim/bus.c
index ae482347b67b..fd68eeac574c 100644
--- a/drivers/net/netdevsim/bus.c
+++ b/drivers/net/netdevsim/bus.c
@@ -168,7 +168,7 @@ new_device_store(struct bus_type *bus, const char *buf, size_t count)
168 switch (err) { 168 switch (err) {
169 case 1: 169 case 1:
170 port_count = 1; 170 port_count = 1;
171 /* pass through */ 171 /* fall through */
172 case 2: 172 case 2:
173 if (id > INT_MAX) { 173 if (id > INT_MAX) {
174 pr_err("Value of \"id\" is too big.\n"); 174 pr_err("Value of \"id\" is too big.\n");