diff options
| author | 2021-11-15 16:14:48 +0800 | |
|---|---|---|
| committer | 2021-11-15 14:22:12 +0000 | |
| commit | 6def480181f15f6d9ec812bca8cbc62451ba314c (patch) | |
| tree | dbd7bb1eb07f56b30f5901706cb5c9a4afe51ec9 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | net: stmmac: socfpga: add runtime suspend/resume callback for stratix10 platform (diff) | |
| download | linux-dev-6def480181f15f6d9ec812bca8cbc62451ba314c.tar.xz linux-dev-6def480181f15f6d9ec812bca8cbc62451ba314c.zip | |
net: return correct error code
When kmemdup called failed and register_net_sysctl return NULL, should
return ENOMEM instead of ENOBUFS
Signed-off-by: liuguoqiang <liuguoqiang@uniontech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
