mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
staging: gasket: Replace macro __ATTR with __ATTR_NULL
Replace macro __ATTR with __ATTR_NULL since the former one is unnecessary for gasket_sysfs_attr array terminator. Also silence the checkpatch.pl warning: WARNING:Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. Signed-off-by: Wentao Cai <etsai042@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ef2719d35a
commit
84c45d5f3b
|
|
@ -40,8 +40,8 @@
|
||||||
*/
|
*/
|
||||||
#define GASKET_END_OF_ATTR_ARRAY \
|
#define GASKET_END_OF_ATTR_ARRAY \
|
||||||
{ \
|
{ \
|
||||||
.attr = __ATTR(GASKET_ARRAY_END_TOKEN, S_IRUGO, NULL, NULL), \
|
.attr = __ATTR_NULL, \
|
||||||
.data.attr_type = 0, \
|
.data.attr_type = 0, \
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user