[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.1902051425550.21608@pobox.suse.cz>
Date: Tue, 5 Feb 2019 14:26:18 +0100 (CET)
From: Miroslav Benes <mbenes@...e.cz>
To: Petr Mladek <pmladek@...e.com>
cc: Jiri Kosina <jikos@...nel.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Jason Baron <jbaron@...mai.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
Evgenii Shatokhin <eshatokhin@...tuozzo.com>,
live-patching@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] livepatch: return -ENOMEM on ptr_id() allocation
failure
On Mon, 4 Feb 2019, Petr Mladek wrote:
> From: Joe Lawrence <joe.lawrence@...hat.com>
>
> 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@...hat.com>
> Signed-off-by: Petr Mladek <pmladek@...e.com>
Acked-by: Miroslav Benes <mbenes@...e.cz>
Miroslav
Powered by blists - more mailing lists