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)
commit2e7bf4a6af482f73f01245f08b4a953412c77070
tree7abf8b600f2859f88dd5dca30edeca354ebc0caf
parent593d1ebe00a45af5cb7bda1235c0790987c2a2b2
net: axienet: add missing error return code in axienet_probe()

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

Fixes: 00be43a74ca2 ("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