Re: [announce] new tree: "fix all build warnings, on all configs"

Andi Kleen
2008-10-18T07:43:40Z

Ingo Molnar <mingo@elte.hu> 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