[PATCH] Missing attribute list NULL terminator
Matt Renzelmann
mjr at cs.wisc.edu
Wed Apr 11 13:27:35 PDT 2012
Hello,
I've never submitted a patch before or posted to a kernel mailing list, so I
hope I've done everything necessary. The following patch is against Linus's
tree. Please let me know if I've screwed anything up, or if this is not a
genuine bug.
Thanks and regards,
Matt
=================
The lp5523_attributes array is missing a null-terminator. This patch
adds it.
Signed-off-by: Matt Renzelmann <mjr at cs.wisc.edu>
---
>From 3dae6f19c86ede0edeeea499e592b640e42e811a Mon Sep 17 00:00:00 2001
From: Matt Renzelmann <mjr at cs.wisc.edu>
Date: Wed, 11 Apr 2012 15:04:38 -0500
Subject: [PATCH] Missing attribute list NULL terminator
---
drivers/leds/leds-lp5523.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c
index 857a3e1..397091f 100644
--- a/drivers/leds/leds-lp5523.c
+++ b/drivers/leds/leds-lp5523.c
@@ -755,6 +755,7 @@ static struct attribute *lp5523_attributes[] = {
&dev_attr_engine2_leds.attr,
&dev_attr_engine3_load.attr,
&dev_attr_engine3_leds.attr,
+ NULL
};
static const struct attribute_group lp5523_group = {
--
1.7.5.4
More information about the devel
mailing list