From: Markus Elfring Date: Mon, 17 Apr 2017 09:36:34 +0000 (+0200) Subject: net: mvpp2: Rename a jump label in mvpp2_tx_frag_process() X-Git-Tag: v4.12-rc1~129^2~163^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32bae631141be2c4a16e6e8a6412234e6f21b3fc;p=platform%2Fkernel%2Flinux-exynos.git net: mvpp2: Rename a jump label in mvpp2_tx_frag_process() Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c index 717d79d..8f43483 100644 --- 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 */