On Mon, 4 Feb 2019, Petr Mladek wrote: > From: Joe Lawrence <joe.lawrence@xxxxxxxxxx> > > 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 <joe.lawrence@xxxxxxxxxx> > Signed-off-by: Petr Mladek <pmladek@xxxxxxxx> Acked-by: Miroslav Benes <mbenes@xxxxxxx> Miroslav