diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-06-01 19:04:51 +0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:49:30 -0400 |
| commit | b341e124071cb5478c00fabb77bfbca87c2510cf (patch) | |
| tree | 4ff5455e3eb821f5dfed81522b406623c054e81a /net/unix/af_unix.c | |
| parent | 10e2c4c399a60e627b1483c08ef5842fc1d3be51 (diff) | |
ethernet: myri10ge: Fix missing error code in myri10ge_probe()
[ Upstream commit f336d0b93ae978f12c5e27199f828da89b91e56a ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
