Bladeren bron

Merge tag 'configfs-for-linus-2' of git://git.infradead.org/users/hch/configfs

Pull configfs fix from Christoph Hellwig:
 "A trivial fix to the recently introduced binary attribute helper
  macros"

* tag 'configfs-for-linus-2' of git://git.infradead.org/users/hch/configfs:
  configfs: fix CONFIGFS_BIN_ATTR_[RW]O definitions
Linus Torvalds 9 jaren geleden
bovenliggende
commit
264800b5ec
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      include/linux/configfs.h

+ 2 - 2
include/linux/configfs.h

@@ -188,7 +188,7 @@ static struct configfs_bin_attribute _pfx##attr_##_name = {	\
 }
 }
 
 
 #define CONFIGFS_BIN_ATTR_RO(_pfx, _name, _priv, _maxsz)	\
 #define CONFIGFS_BIN_ATTR_RO(_pfx, _name, _priv, _maxsz)	\
-static struct configfs_attribute _pfx##attr_##_name = {		\
+static struct configfs_bin_attribute _pfx##attr_##_name = {	\
 	.cb_attr = {						\
 	.cb_attr = {						\
 		.ca_name	= __stringify(_name),		\
 		.ca_name	= __stringify(_name),		\
 		.ca_mode	= S_IRUGO,			\
 		.ca_mode	= S_IRUGO,			\
@@ -200,7 +200,7 @@ static struct configfs_attribute _pfx##attr_##_name = {		\
 }
 }
 
 
 #define CONFIGFS_BIN_ATTR_WO(_pfx, _name, _priv, _maxsz)	\
 #define CONFIGFS_BIN_ATTR_WO(_pfx, _name, _priv, _maxsz)	\
-static struct configfs_attribute _pfx##attr_##_name = {		\
+static struct configfs_bin_attribute _pfx##attr_##_name = {	\
 	.cb_attr = {						\
 	.cb_attr = {						\
 		.ca_name	= __stringify(_name),		\
 		.ca_name	= __stringify(_name),		\
 		.ca_mode	= S_IWUSR,			\
 		.ca_mode	= S_IWUSR,			\