diff options
author | 2022-04-30 21:46:56 +0200 | |
---|---|---|
committer | 2022-05-02 14:27:39 -0700 | |
commit | 0b9f1b265ee16cd991714fe310eb59b800c142c5 (patch) | |
tree | 3a21888652cfcc5776311c94c8dfd15ed550dd0a /net/core/sock.c | |
parent | Merge branch 'ocelot-stats-improvement' (diff) | |
download | wireguard-linux-0b9f1b265ee16cd991714fe310eb59b800c142c5.tar.xz wireguard-linux-0b9f1b265ee16cd991714fe310eb59b800c142c5.zip |
octeontx2-af: debugfs: fix error return of allocations
Current memory failure code in the debugfs returns -ENOSPC. This is
normally used for indicating that there is no space left on the
device and is not applicable for memory allocation failures.
Replace this with -ENOMEM.
Signed-off-by: Niels Dossche <dossche.niels@gmail.com>
Link: https://lore.kernel.org/r/20220430194656.44357-1-dossche.niels@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions