staging: unisys: correctly NULL-terminate visorbus sysfs attribute array
I'm not sure what adverse runtime effects the previously-omitted
NULL-termination would cause, but the code was definitely wrong.
Fixes: 795731627c
('staging: unisys: Clean up device sysfs attributes')
Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2164be191e
commit
fd012d0def
1 changed files with 1 additions and 0 deletions
|
@ -471,6 +471,7 @@ static struct attribute *channel_attrs[] = {
|
|||
&dev_attr_typeguid.attr,
|
||||
&dev_attr_zoneguid.attr,
|
||||
&dev_attr_typename.attr,
|
||||
NULL
|
||||
};
|
||||
|
||||
static struct attribute_group channel_attr_grp = {
|
||||
|
|
Loading…
Add table
Reference in a new issue