--- zzzz-none-000/linux-3.10.107/drivers/net/ethernet/amd/ni65.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/net/ethernet/amd/ni65.c 2021-02-04 17:41:59.000000000 +0000 @@ -1238,7 +1238,7 @@ int __init init_module(void) { dev_ni65 = ni65_probe(-1); - return PTR_RET(dev_ni65); + return PTR_ERR_OR_ZERO(dev_ni65); } void __exit cleanup_module(void)