projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd4240
)
net: mvpp2: Rename a jump label in mvpp2_tx_frag_process()
author
Markus Elfring
<
[email protected]
>
Mon, 17 Apr 2017 09:36:34 +0000
(11:36 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 18 Apr 2017 17:55:09 +0000
(13:55 -0400)
Adjust jump labels according to the Linux coding style convention.
Signed-off-by: Markus Elfring <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/marvell/mvpp2.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mvpp2.c
b/drivers/net/ethernet/marvell/mvpp2.c
index 717d79dcb6aa4a5ec964f49adbc3cc5d62ae4195..8f4348316d2833b575f3e63855644c852608c890 100644
(file)
--- a/
drivers/net/ethernet/marvell/mvpp2.c
+++ b/
drivers/net/ethernet/marvell/mvpp2.c
@@
-5606,7
+5606,7
@@
static int mvpp2_tx_frag_process(struct mvpp2_port *port, struct sk_buff *skb,
DMA_TO_DEVICE);
if (dma_mapping_error(port->dev->dev.parent, buf_dma_addr)) {
mvpp2_txq_desc_put(txq);
- goto
error
;
+ goto
cleanup
;
}
mvpp2_txdesc_offset_set(port, tx_desc,
@@
-5627,8
+5627,7
@@
static int mvpp2_tx_frag_process(struct mvpp2_port *port, struct sk_buff *skb,
}
return 0;
-
-error:
+cleanup:
/* Release all descriptors that were used to map fragments of
* this packet, as well as the corresponding DMA mappings
*/