--- zzzz-none-000/linux-3.10.107/drivers/net/appletalk/cops.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/net/appletalk/cops.c 2021-02-04 17:41:59.000000000 +0000 @@ -996,7 +996,7 @@ printk(KERN_WARNING "%s: You shouldn't autoprobe with insmod\n", cardname); cops_dev = cops_probe(-1); - return PTR_RET(cops_dev); + return PTR_ERR_OR_ZERO(cops_dev); } static void __exit cops_module_exit(void)