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:	Sat, 9 Jul 2011 15:32:44 +0000
From:	Simon Guinot <simon@...uanux.org>
To:	Axel Lin <axel.lin@...il.com>
Cc:	linux-kernel@...r.kernel.org, Simon Guinot <sguinot@...ie.com>,
	Richard Purdie <rpurdie@...ys.net>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] drivers/leds/leds-netxbig: make LEDS_NETXBIG depend on
 LEDS_CLASS

On Sat, Jul 09, 2011 at 11:07:18PM +0800, Axel Lin wrote:
> We call led_classdev_register/led_classdev_unregister in
> create_netxbig_led/delete_netxbig_led, thus make LEDS_NETXBIG
> depend on LEDS_CLASS.
> 
> This patch fixes below build error if LEDS_CLASS is not configured.
> 
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `create_netxbig_led':
> drivers/leds/leds-netxbig.c:350: undefined reference to `led_classdev_register'
> drivers/leds/leds-netxbig.c:361: undefined reference to `led_classdev_unregister'
> drivers/built-in.o: In function `delete_netxbig_led':
> drivers/leds/leds-netxbig.c:313: undefined reference to `led_classdev_unregister'
> make: *** [.tmp_vmlinux1] Error 1
> 
> Signed-off-by: Axel Lin <axel.lin@...il.com>

Acked-by: Simon Guinot <sguinot@...ie.com>

Thanks,

Simon

Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ