Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753356Ab2KSI4P (ORCPT ); Mon, 19 Nov 2012 03:56:15 -0500 Received: from perches-mx.perches.com ([206.117.179.246]:50835 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753021Ab2KSI4O (ORCPT ); Mon, 19 Nov 2012 03:56:14 -0500 Message-ID: <1353315374.3129.3.camel@joe-AO722> Subject: Re: [PATCH v5 RESEND 1/5] ACPI: Add acpi_pr_() interfaces From: Joe Perches To: Toshi Kani Cc: linux-acpi@vger.kernel.org, rjw@sisk.pl, lenb@kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com, isimatu.yasuaki@jp.fujitsu.com, vijaymohan.pandarathil@hp.com, imammedo@redhat.com, prarit@redhat.com Date: Mon, 19 Nov 2012 00:56:14 -0800 In-Reply-To: <1352214130-12055-2-git-send-email-toshi.kani@hp.com> References: <1352214130-12055-1-git-send-email-toshi.kani@hp.com> <1352214130-12055-2-git-send-email-toshi.kani@hp.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 23 On Tue, 2012-11-06 at 08:02 -0700, Toshi Kani wrote: > This patch introduces acpi_pr_(), where is a kernel > message level such as err/warn/info, to support improved logging > messages for ACPI, esp. for hotplug operations. [] > diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h [] > @@ -56,6 +56,37 @@ acpi_evaluate_hotplug_ost(acpi_handle handle, u32 source_event, > > acpi_status > acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld); > + > +void acpi_printk(const char *level, acpi_handle handle, const char *fmt, ...); This should be declared with __printf(3, 4) is acpi_bus.h really the right file for these prototypes? -- 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/