Skip to content

Commit 3d14ece

Browse files
author
Myron Stowe
committed
s390/con3215: Remove spurious NULL in attribute_group definition
JIRA: https://issues.redhat.com/browse/RHEL-85241 Upstream Status: b22fd46 commit b22fd46 Author: Thomas Weißschuh <linux@weissschuh.net> Date: Mon Nov 18 16:02:48 2024 +0100 s390/con3215: Remove spurious NULL in attribute_group definition This NULL value is most-likely a copy-paste error from an array definition. So far the NULL didn't have any effect. As there will be a union in struct attribute_group at this location, it will trigger a compiler warning. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20241118-sysfs-const-attribute_group-fixes-v1-2-48e0b0ad8cba@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Myron Stowe <mstowe@redhat.com>
1 parent fc37aeb commit 3d14ece

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/s390/char/con3215.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,6 @@ static struct attribute *con3215_drv_attrs[] = {
803803

804804
static struct attribute_group con3215_drv_attr_group = {
805805
.attrs = con3215_drv_attrs,
806-
NULL,
807806
};
808807

809808
static const struct attribute_group *con3215_drv_attr_groups[] = {

0 commit comments

Comments
 (0)