Skip to content
Commit 0b9f1b26 authored by Niels Dossche's avatar Niels Dossche Committed by Jakub Kicinski
Browse files

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: default avatarNiels Dossche <dossche.niels@gmail.com>
Link: https://lore.kernel.org/r/20220430194656.44357-1-dossche.niels@gmail.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e1ff0bd6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment