From f95d3b3bf206995d0bc04ae4b1855932eaaa4911 Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Mon, 30 May 2011 16:41:37 +0200 Subject: [PATCH] cpg: do_proc_join change list_slice to list_add In this concrete case result is equivalent but makes coverity happy. Signed-off-by: Jan Friesse Reviewed-by: Steven Dake --- services/cpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cpg.c b/services/cpg.c index ec509e03..6669fbda 100644 --- a/services/cpg.c +++ b/services/cpg.c @@ -1009,7 +1009,7 @@ static void do_proc_join( } list_to_add = list; } - list_splice (&pi->list, list_to_add); + list_add (&pi->list, list_to_add); notify_info.pid = pi->pid; notify_info.nodeid = nodeid;