From patchwork Mon Sep 27 01:26:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lin Ming X-Patchwork-Id: 210562 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8R1PLjB021473 for ; Mon, 27 Sep 2010 01:25:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757631Ab0I0BZU (ORCPT ); Sun, 26 Sep 2010 21:25:20 -0400 Received: from mga09.intel.com ([134.134.136.24]:18451 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757580Ab0I0BZU (ORCPT ); Sun, 26 Sep 2010 21:25:20 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 26 Sep 2010 18:25:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,240,1283756400"; d="scan'208";a="558160865" Received: from minggr.sh.intel.com (HELO [10.239.13.71]) ([10.239.13.71]) by orsmga002.jf.intel.com with ESMTP; 26 Sep 2010 18:25:18 -0700 Subject: Re: acpi/test panic From: Lin Ming To: Yinghai Lu Cc: "Brown, Len" , "Moore, Robert" , ACPI Devel Maling List In-Reply-To: <4C9FC97F.7030405@oracle.com> References: <4C9FC97F.7030405@oracle.com> Date: Mon, 27 Sep 2010 09:26:02 +0800 Message-ID: <1285550762.5416.30.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 27 Sep 2010 01:25:22 +0000 (UTC) diff --git a/drivers/acpi/acpica/exprep.c b/drivers/acpi/acpica/exprep.c index 5366a48..fa51450 100644 --- a/drivers/acpi/acpica/exprep.c +++ b/drivers/acpi/acpica/exprep.c @@ -472,6 +472,10 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info) } } + /* An additional reference for the container */ + + acpi_ut_add_reference(obj_desc->field.region_obj); + ACPI_DEBUG_PRINT((ACPI_DB_BFIELD, "RegionField: BitOff %X, Off %X, Gran %X, Region %p\n", obj_desc->field.start_field_bit_offset,