From: Wang Hai <wanghai38@xxxxxxxxxx>Thanks for your advice, I just sent a v2 patch.
Date: Tue, 18 Aug 2020 21:44:04 +0800
Fix the missing free_netdev() before return fromYou can just convert this function to use 'devm_alloc_etherdev_mqs', which
gemini_ethernet_port_probe() in the error handling case.
Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet")
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
is a one line fix.
.