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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 21 Jun 2007 00:52:21 +0900
From:	Mattia Dongili <malattia@...ux.it>
To:	Thomas Renninger <trenn@...e.de>
Cc:	Len Brown <lenb@...nel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	linux-acpi <linux-acpi@...r.kernel.org>,
	Kay Sievers <kasievers@...e.de>
Subject: Re: [PATCH 2/3] ACPI autoloading - Create acpi alias interface

On Sun, Jun 17, 2007 at 10:27:27PM +0200, Thomas Renninger wrote:
> Create acpi alias interface
...
> Index: linux-2.6.22-rc4/drivers/pnp/pnpacpi/core.c
> ===================================================================
> --- linux-2.6.22-rc4.orig/drivers/pnp/pnpacpi/core.c
> +++ linux-2.6.22-rc4/drivers/pnp/pnpacpi/core.c
> @@ -21,7 +21,10 @@
>  
>  #include <linux/acpi.h>
>  #include <linux/pnp.h>
> +#include <linux/mod_devicetable.h>
>  #include <acpi/acpi_bus.h>
> +#include <acpi/actypes.h>
> +
>  #include "pnpacpi.h"
>  
>  static int num = 0;
> @@ -33,15 +36,17 @@ static int num = 0;
>   * have irqs (PIC, Timer) because we call acpi_register_gsi.
>   * Finaly only devices that have a CRS method need to be in this list.
>   */
> -static char __initdata excluded_id_list[] =
> -	"PNP0C09," /* EC */
> -	"PNP0C0F," /* Link device */
> -	"PNP0000," /* PIC */
> -	"PNP0100," /* Timer */
> -	;
> +static __initdata struct acpi_device_id excluded_id_list[] ={
> +	{"PNP0C09", 0}, /* EC */
> +	{"PNP0C0F", 0}, /* Link device */
> +	{"PNP0000", 0}, /* PIC */
> +	{"PNP0100", 0}, /* Timer */
> +	{"", 0};
              ^^^
eeek!

> +};
> +
-- 
mattia
:wq!
-
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