]> git.baikalelectronics.ru Git - kernel.git/commit
net: axienet: add missing error return code in axienet_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 16 Jun 2022 06:29:17 +0000 (14:29 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Jun 2022 18:08:38 +0000 (11:08 -0700)
commiteb68af73734cbe83af35b70ae86b348275c012bc
tree7abf8b600f2859f88dd5dca30edeca354ebc0caf
parentd475490141d385cbed5bec6e750e6063f5e1d3fb
net: axienet: add missing error return code in axienet_probe()

It should return error code in error path in axienet_probe().

Fixes: 0909279f6be4 ("net: axienet: make the 64b addresable DMA depends on 64b archectures")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220616062917.3601-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c