summaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorDan Carpenter2018-05-31 08:44:49 +0200
committerDavid S. Miller2018-05-31 22:12:00 +0200
commit8005b09d99fac78e6f5fb9da30b5ae94840af03b (patch)
tree792ab5311bd824a95523f7489ee3344fa07bed6d /tools/include/uapi/linux/bpf.h
parentnet/ncsi: Fix array size in dumpit handler (diff)
downloadkernel-qcow2-linux-8005b09d99fac78e6f5fb9da30b5ae94840af03b.tar.gz
kernel-qcow2-linux-8005b09d99fac78e6f5fb9da30b5ae94840af03b.tar.xz
kernel-qcow2-linux-8005b09d99fac78e6f5fb9da30b5ae94840af03b.zip
net: ethernet: davinci_emac: fix error handling in probe()
The current error handling code has an issue where it does: if (priv->txchan) cpdma_chan_destroy(priv->txchan); The problem is that ->txchan is either valid or an error pointer (which would lead to an Oops). I've changed it to use multiple error labels so that the test can be removed. Also there were some missing calls to netif_napi_del(). Fixes: 3ef0fdb2342c ("net: davinci_emac: switch to new cpdma layer") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions