Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
livepatch: return -ENOMEM on ptr_id() allocation failure
Fixes the following smatch warning: lib/livepatch/test_klp_shadow_vars.c:47 ptr_id() warn: returning -1 instead of -ENOMEM is sloppy Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Miroslav Benes <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
- Loading branch information