Re: [LKP] [EDAC] general protection fault: 0000 [#1] SMP

From: Takashi Iwai
Date: Sun Feb 15 2015 - 03:39:11 EST


At Sun, 15 Feb 2015 15:52:58 +0800,
Huang Ying wrote:
>
> FYI, we noticed the below changes on
>
> git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp edac-for-3.21
> commit 7d4e4cb735b7f746c27571b6dd43ba5572a1eef4 ("EDAC: i7core: Use static attribute groups for sysfs entries")

My bad, I must have forgotten refreshing the patch after rebasing and
testing. Please put the additional patch below.


thanks,

Takashi

-- 8< --
From: Takashi Iwai <tiwai@xxxxxxx>
Subject: [PATCH] EDAC: i7core: Add missing NULL terminator to i7core_dev_attrs[]

... forgotten in the commit 'EDAC: i7core: Use static attribute groups
for sysfs entries'.

Reported-by: Huang Ying <ying.huang@xxxxxxxxx>
Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
---
drivers/edac/i7core_edac.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 90f6ba57f0d3..01087a38da22 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -1162,6 +1162,7 @@ static struct attribute *i7core_dev_attrs[] = {
&dev_attr_inject_type.attr,
&dev_attr_inject_eccmask.attr,
&dev_attr_inject_enable.attr,
+ NULL
};

ATTRIBUTE_GROUPS(i7core_dev);
--
2.3.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/