Jiapeng Chong f336d0b93a ethernet: myri10ge: Fix missing error code in myri10ge_probe()
The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'status'.

Eliminate the follow smatch warning:

drivers/net/ethernet/myricom/myri10ge/myri10ge.c:3818 myri10ge_probe()
warn: missing error code 'status'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-01 15:54:38 -07:00
..
2021-04-27 14:07:27 -07:00
2021-04-05 08:59:21 +02:00
2021-05-17 15:50:58 -07:00
2021-04-29 11:57:23 -07:00
2021-03-10 09:34:06 +01:00
2021-03-30 17:06:50 -07:00
2021-04-16 15:31:02 -07:00
2021-04-16 15:31:02 -07:00
2021-04-13 15:13:13 -07:00
2021-04-14 13:13:53 -07:00