diff options
| author | Holger Brunck <[email protected]> | 2017-05-17 17:24:33 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-05-18 10:28:38 -0400 |
| commit | 66bb144bd9096dd5268ef736ba769b8b6f4ef100 (patch) | |
| tree | 3d5f16ccb13449d8847df5af5652a6377b2ad93f /tools/perf/scripts/python | |
| parent | f0897854797d7b131f557f81bc4797e0812ac174 (diff) | |
net/wan/fsl_ucc_hdlc: fix unitialized variable warnings
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 <[email protected]>
Cc: Zhao Qiang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions