From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz7Dg-0001hI-AF for qemu-devel@nongnu.org; Tue, 16 Jul 2013 11:31:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz7De-0003qH-My for qemu-devel@nongnu.org; Tue, 16 Jul 2013 11:31:16 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:34594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz7De-0003pg-GO for qemu-devel@nongnu.org; Tue, 16 Jul 2013 11:31:14 -0400 Received: by mail-ee0-f41.google.com with SMTP id d17so460720eek.0 for ; Tue, 16 Jul 2013 08:31:13 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 16 Jul 2013 17:31:01 +0200 Message-Id: <1373988662-19211-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1373988662-19211-1-git-send-email-pbonzini@redhat.com> References: <1373988662-19211-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 2/3] memory: actually set the owner List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, stefanha@redhat.com, jan.kiszka@siemens.com Brown paper bag for me. Commit 2c9b15c added a line setting mr->owner, but there was already one that initialized it to NULL (added in the earlier commit 803c0816). Signed-off-by: Paolo Bonzini --- memory.c | 1 - 1 file changed, 1 deletion(-) diff --git a/memory.c b/memory.c index c8f9a2b..9938b6b 100644 --- a/memory.c +++ b/memory.c @@ -805,7 +805,6 @@ void memory_region_init(MemoryRegion *mr, mr->owner = owner; mr->iommu_ops = NULL; mr->parent = NULL; - mr->owner = NULL; mr->size = int128_make64(size); if (size == UINT64_MAX) { mr->size = int128_2_64(); -- 1.8.1.4