Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752726AbYJRHnk (ORCPT ); Sat, 18 Oct 2008 03:43:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751478AbYJRHnc (ORCPT ); Sat, 18 Oct 2008 03:43:32 -0400 Received: from one.firstfloor.org ([213.235.205.2]:58089 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbYJRHnb (ORCPT ); Sat, 18 Oct 2008 03:43:31 -0400 To: Ingo Molnar Cc: Linus Torvalds , Andrew Morton , "David S. Miller" , Alan Cox , linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , "H. Peter Anvin" , David Howells Subject: Re: [announce] new tree: "fix all build warnings, on all configs" From: Andi Kleen References: <20081017171139.GA1792@elte.hu> Date: Sat, 18 Oct 2008 09:43:29 +0200 In-Reply-To: <20081017171139.GA1792@elte.hu> (Ingo Molnar's message of "Fri, 17 Oct 2008 19:11:39 +0200") Message-ID: <87r66ejqla.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 829 Lines: 27 Ingo Molnar writes: > if (battery->have_sysfs_alarm) > diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c > index d13194a..2276d75 100644 > --- a/drivers/acpi/sleep/main.c > +++ b/drivers/acpi/sleep/main.c > @@ -63,7 +63,7 @@ void __init acpi_old_suspend_ordering(void) > /** > * acpi_pm_disable_gpes - Disable the GPEs. > */ > -static int acpi_pm_disable_gpes(void) > +static inline int acpi_pm_disable_gpes(void) Just to satisfy my curiosity, what compiler warning does marking functions inline fix? Thanks. -Andi -- ak@linux.intel.com -- 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/