linux_dsm_epyc7002/drivers/net/ethernet/cortina
Wang Hai cf96d97738 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
Replace alloc_etherdev_mq with devm_alloc_etherdev_mqs. In this way,
when probe fails, netdev can be freed automatically.

Fixes: 4d5ae32f5e ("net: ethernet: Add a driver for Gemini gigabit ethernet")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-19 16:37:18 -07:00
..
gemini.c net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe() 2020-08-19 16:37:18 -07:00
gemini.h net: ethernet: Use the correct style for SPDX License Identifier 2019-10-25 19:30:31 -07:00
Kconfig net: ethernet: Replace HTTP links with HTTPS ones 2020-07-13 17:42:45 -07:00
Makefile