Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932699Ab3ICIrK (ORCPT ); Tue, 3 Sep 2013 04:47:10 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:60257 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S932662Ab3ICIrG (ORCPT ); Tue, 3 Sep 2013 04:47:06 -0400 X-IronPort-AV: E=Sophos;i="4.89,1012,1367942400"; d="scan'208";a="8390261" From: Tang Chen To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, lenb@kernel.org, rjw@sisk.pl, liwanp@linux.vnet.ibm.com, tj@kernel.org, akpm@linux-foundation.org, joe@perches.com, toshi.kani@hp.com Cc: x86@kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH v2 0/4] acpi: Fix and cleanup in acpi. Date: Tue, 3 Sep 2013 16:45:37 +0800 Message-Id: <1378197941-26479-1-git-send-email-tangchen@cn.fujitsu.com> X-Mailer: git-send-email 1.7.11.7 X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/09/03 16:44:47, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/09/03 16:44:52, Serialize complete at 2013/09/03 16:44:52 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1425 Lines: 36 This patch-set fix the following problems: 1. Kill useless function save_add_info() which will block us from using numa when MEMORY_HOTPLUG is not configured. 2. acpi_table_parse() didn't check if @id is NULL. 3. Fix incorrect comment in acpi_table_parse(), and return -ENOENT if a table is not found. And also did some cleanup. change log v1 -> v2: 1. Use pr_fmt() to simply the SRAT message. Suggested by Joe Perches 2. Improve the log in patch 4, and change the return value of the stub of acpi_table_parse() in linux/acpi.h Suggested by Toshi Kani 3. Merge the two pr_{info|err} patches into one. 4. Remove on of the patch that has been merged by Rafael. Tang Chen (4): acpi, numa, mem_hotplug: Kill save_add_info(). acpi cleanup: Use pr_{info|err}() instead of printk() in arch/x86/mm/srat.c acpi: Check if @id is NULL in acpi_table_parse() acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment. arch/x86/mm/srat.c | 40 +++++++++++++++++----------------------- drivers/acpi/tables.c | 9 +++++---- include/linux/acpi.h | 2 +- 3 files changed, 23 insertions(+), 28 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/