lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 22 Jun 2007 13:34:37 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Andreas Herrmann <andreas.herrmann3@....com>
Cc:	linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org
Subject: Re: [PATCH 6/12] acpi: fix compile warnings

On Wed, Jun 20, 2007 at 12:50:11AM +0200, Andreas Herrmann wrote:
> Fix compile warnings:
> 
>  drivers/acpi/bus.c: In function 'acpi_bus_get_power':
>  drivers/acpi/bus.c:162: warning: implicit declaration of function 'acpi_power_get_inferred_state'
>  drivers/acpi/bus.c: In function 'acpi_bus_set_power':
>  drivers/acpi/bus.c:232: warning: implicit declaration of function 'acpi_power_transition'
> 
> Signed-off-by: Andreas Herrmann <andreas.herrmann3@....com>
> ---
> diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> index b4a9ea5..e01dca1 100644
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -43,6 +43,8 @@ ACPI_MODULE_NAME("bus");
>  #ifdef	CONFIG_X86
>  extern void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger);
>  #endif
> +extern int acpi_power_get_inferred_state(struct acpi_device *);
> +extern int acpi_power_transition(struct acpi_device *, int);
>...

NAK, they belong into a header file.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ