[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170518.102916.466850819247317599.davem@davemloft.net>
Date: Thu, 18 May 2017 10:29:16 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: holger.brunck@...mile.com
Cc: netdev@...r.kernel.org, qiang.zhao@....com
Subject: Re: [PATCH net-next 2/8] net/wan/fsl_ucc_hdlc: fix unitialized
variable warnings
From: Holger Brunck <holger.brunck@...mile.com>
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;
>
> and
>
> drivers/net/wan/fsl_ucc_hdlc.c: In function 'ucc_hdlc_probe':
> drivers/net/wan/fsl_ucc_hdlc.c:1127:3: warning: 'utdm' may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> kfree(utdm);
>
> Signed-off-by: Holger Brunck <holger.brunck@...mile.com>
Applied.
Powered by blists - more mailing lists