From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: [Patch v5 04/15] ACPI: Add interfaces to parse IOAPIC ID for IOAPIC hotplug Date: Thu, 11 Sep 2014 10:23:36 +0200 (CEST) Message-ID: References: <1410422758-24942-1-git-send-email-jiang.liu@linux.intel.com> <1410422758-24942-5-git-send-email-jiang.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <1410422758-24942-5-git-send-email-jiang.liu@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Jiang Liu Cc: Benjamin Herrenschmidt , Ingo Molnar , "H. Peter Anvin" , "Rafael J. Wysocki" , Bjorn Helgaas , Randy Dunlap , Yinghai Lu , Borislav Petkov , Grant Likely , Konrad Rzeszutek Wilk , Andrew Morton , Tony Luck , Joerg Roedel , Greg Kroah-Hartman , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org List-Id: linux-acpi@vger.kernel.org On Thu, 11 Sep 2014, Jiang Liu wrote: > + > +#ifdef CONFIG_ACPI_HOTPLUG_IOAPIC > +static int map_ioapic_id(struct acpi_subtable_header *entry, u32 gsi_base, > + u64 *phys_addr, int *ioapic_id) I find these function names map_* quite confusing. All they do is a lookup, right? > +/** > + * acpi_get_ioapic_id() - Get IOAPIC ID and physical address matching @gsi_base > + * @handle ACPI object for IOAPIC device Proper docbook formatting is: * acpi_get_ioapic_id - Get .... * @handle: ACPI object Thanks, tglx