commit | 6790711f8ac5faabc43237c0d05d93db431a1ecc | [log] [tgz] |
---|---|---|
author | Liu Jian <liujian56@huawei.com> | Mon Jul 20 22:28:29 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 20 17:54:08 2020 -0700 |
tree | 0553d9b6ff12fb0c64a91a31a2ed90989aa67ec5 | |
parent | d49e2c9e54ddc072fe38dcd838a78067757b13c8 [diff] |
dpaa_eth: Fix one possible memleak in dpaa_eth_probe When dma_coerce_mask_and_coherent() fails, the alloced netdev need to be freed. Fixes: 060ad66f9795 ("dpaa_eth: change DMA device") Signed-off-by: Liu Jian <liujian56@huawei.com> Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>