From: Jes Sorensen Subject: Re: [PATCH] RESEND - SN: Add initial ACPI support Date: 16 Jan 2006 03:21:01 -0500 Message-ID: References: <20060115182308.22089.1201.sendpatchset@attica.americas.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20060115182308.22089.1201.sendpatchset@attica.americas.sgi.com> Sender: linux-ia64-owner@vger.kernel.org To: John Keller Cc: linux-ia64@vger.kernel.org, linux-acpi@vger.kernel.org List-Id: linux-acpi@vger.kernel.org >>>>> "John" == John Keller writes: John> Please disregard the earlier (01/14) post of this patch. I John> erroneously sent out an early version, which was not fully John> merged with the latest ia64 git tree. Hi John, Looks much better. On top of Prarit's comments I just noticed this one: + if (!hubdev->hdi_flush_nasid_list.widget_p) + return; + + hubdev->hdi_flush_nasid_list.widget_p = + kzalloc((HUB_WIDGET_ID_MAX + 1) * + sizeof(struct sn_flush_device_kernel *), + GFP_KERNEL); This doesn't look right, if widget_p is NULL no alloc ortherwise overwrite it? Did the order get reversed? Cheers, Jes