From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvefE-0006RH-Uz for qemu-devel@nongnu.org; Fri, 31 Aug 2018 04:20:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvefA-0007Az-2H for qemu-devel@nongnu.org; Fri, 31 Aug 2018 04:20:20 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39242 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fvef9-0007AQ-Sw for qemu-devel@nongnu.org; Fri, 31 Aug 2018 04:20:15 -0400 From: Juan Quintela In-Reply-To: <20180830173657.22939-1-dgilbert@redhat.com> (David Alan Gilbert's message of "Thu, 30 Aug 2018 18:36:57 +0100") References: <20180830173657.22939-1-dgilbert@redhat.com> Reply-To: quintela@redhat.com Date: Fri, 31 Aug 2018 10:20:03 +0200 Message-ID: <87h8jbne18.fsf@trasno.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] migration/rdma: Fix uninitialised rdma_return_path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: qemu-devel@nongnu.org, cohuck@redhat.com, jemmy858585@gmail.com "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > Clang correctly errors out moaning that rdma_return_path > is used uninitialised in the earlier error paths. > Make it NULL so that the error path ignores it. > > Fixes: 55cc1b5937a8e709e4c102e74b206281073aab82 > Signed-off-by: Dr. David Alan Gilbert > Reprorted by: Cornelia Huck Reviewed-by: Juan Quintela queued