Messages in this thread Patch in this message | | | From | mjr@cs ... | Subject | [PATCH] drivers/leds/leds-lp5523.c: add attribute list NULL terminator | Date | Thu, 12 Apr 2012 16:43:27 -0500 |
| |
From: Matt Renzelmann <mjr@cs.wisc.edu>
Our driver testing tool found that the lp5523_attributes array is missing a null-terminator. All other attribute arrays need one. This patch adds it.
Signed-off-by: Matt Renzelmann <mjr@cs.wisc.edu> --- 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
| |