Re: [Xen-devel] [PATCH] livepatch: use proper rc variable in livepatch_do_action()

2020-01-06 Thread Konrad Rzeszutek Wilk
On Mon, Jan 06, 2020 at 12:56:23PM +, Pawel Wieczorkiewicz wrote: > Fix c&p bug in the livepatch_do_action() code of > LIVEPATCH_ACTION_REPLACE case. > The correct variable handling return code of revert action is > other->rc in this case. > > Coverity-ID: 1457467 > Fixes: 6047104c3c ("livepat

[Xen-devel] [PATCH] livepatch: use proper rc variable in livepatch_do_action()

2020-01-06 Thread Pawel Wieczorkiewicz
Fix c&p bug in the livepatch_do_action() code of LIVEPATCH_ACTION_REPLACE case. The correct variable handling return code of revert action is other->rc in this case. Coverity-ID: 1457467 Fixes: 6047104c3c ("livepatch: Add per-function applied/reverted state tracking marker") Signed-off-by: Pawel