Re: [announce] new tree: "fix all build warnings, on all configs"
From: Andi Kleen
Date: Sat Oct 18 2008 - 03:43:42 EST
Ingo Molnar <mingo@xxxxxxx> 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@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/