Re: [PATCH net-next 2/8] net/wan/fsl_ucc_hdlc: fix unitialized variable warnings

2017-05-18 Thread David Miller
From: Holger Brunck Date: Wed, 17 May 2017 17:24:33 +0200 > This fixes the following compiler warnings: > drivers/net/wan/fsl_ucc_hdlc.c: In function 'ucc_hdlc_poll': > warning: 'skb' may be used uninitialized in this function > [-Wmaybe-uninitialized] > skb->mac_header = skb->data - skb->head;

[PATCH net-next 2/8] net/wan/fsl_ucc_hdlc: fix unitialized variable warnings

2017-05-17 Thread Holger Brunck
This fixes the following compiler warnings: drivers/net/wan/fsl_ucc_hdlc.c: In function 'ucc_hdlc_poll': warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized] skb->mac_header = skb->data - skb->head; and drivers/net/wan/fsl_ucc_hdlc.c: In function 'ucc_hdlc_probe': d