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:	Mon, 23 Jul 2007 14:15:10 +0200
From:	Gabriel C <nix.or.die@...glemail.com>
To:	Andreas Gruenbacher <agruen@...e.de>
CC:	Richard Purdie <rpurdie@...ys.net>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [FIX] struct led_classdev conversion compile fallout

Andreas Gruenbacher wrote:
> Commit f8a7c6fe switched from a struct class_device to a struct device in 
> struct led_classdev. Need to adjust drivers/misc/asus-laptop.c as well.
> 
> Signed-off-by: Andreas Gruenbacher <agruen@...e.de>
> 
> diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c
> index f753060..2fdee5b 100644
> --- a/drivers/misc/asus-laptop.c
> +++ b/drivers/misc/asus-laptop.c
> @@ -1067,8 +1067,8 @@ static void asus_backlight_exit(void)
>  }
>  
>  #define  ASUS_LED_UNREGISTER(object)				\
> -	if(object##_led.class_dev				\
> -	   && !IS_ERR(object##_led.class_dev))			\
> +	if(object##_led.dev					\
> +	   && !IS_ERR(object##_led.dev))			\
>  		led_classdev_unregister(&object##_led)
>  
>  static void asus_led_exit(void)

Same fix here -> http://lkml.org/lkml/2007/7/23/137 but see Al Viro comment about -> http://lkml.org/lkml/2007/7/23/139 

Regards,

Gabriel C
-
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