[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ebee0527-c16c-1fda-0724-1204b768e44f@users.sourceforge.net>
Date: Sun, 18 Sep 2016 08:19:57 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux1394-devel@...ts.sourceforge.net,
Stefan Richter <stefanr@...6.in-berlin.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH 08/10] firewire-net: Rename a jump label in
fwnet_finish_incoming_packet()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sat, 17 Sep 2016 22:40:05 +0200
Adjust a jump label according to the current Linux coding style convention.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/firewire/net.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index 7e802e7..6dd3174 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -495,7 +495,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
#endif
break;
default:
- goto err;
+ goto increment_counter;
}
dev = netdev_priv(net);
@@ -551,8 +551,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
}
return 0;
-
- err:
+ increment_counter:
net->stats.rx_errors++;
net->stats.rx_dropped++;
--
2.10.0
Powered by blists - more mailing lists