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-next>] [day] [month] [year] [list]
Date:	Thu, 02 Apr 2009 13:36:10 -0500
From:	Larry Finger <Larry.Finger@...inger.net>
To:	rpurdie@...ys.net
Cc:	linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: [PATCH] leds: Increase trigger name maximum size

On my HP dv2815 laptop, the total length of the triggers for my b43legacy
wireless device exceeds the maximum value of 50 defined in
include/linux/leds.h. As a result, the list is garbled.

Signed-off-by: Larry Finger <Larry.Finger@...inger.net>
---

Richard,

This is 2.6.31 material.

Larry
---

Index: wireless-testing/include/linux/leds.h
===================================================================
--- wireless-testing.orig/include/linux/leds.h
+++ wireless-testing/include/linux/leds.h
@@ -74,7 +74,7 @@ extern void led_classdev_resume(struct l
  */
 #ifdef CONFIG_LEDS_TRIGGERS
 
-#define TRIG_NAME_MAX 50
+#define TRIG_NAME_MAX 70
 
 struct led_trigger {
 	/* Trigger Properties */
--
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