Skip to content

Commit

Permalink
Merge tag 'configfs-for-linus-2' of git://git.infradead.org/users/hch…
Browse files Browse the repository at this point in the history
…/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
  • Loading branch information
torvalds committed Apr 2, 2016
2 parents 05cf807 + 96c22a3 commit 264800b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/configfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static struct configfs_bin_attribute _pfx##attr_##_name = { \
}

#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 = { \
.ca_name = __stringify(_name), \
.ca_mode = S_IRUGO, \
Expand All @@ -200,7 +200,7 @@ static struct configfs_attribute _pfx##attr_##_name = { \
}

#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 = { \
.ca_name = __stringify(_name), \
.ca_mode = S_IWUSR, \
Expand Down

0 comments on commit 264800b

Please sign in to comment.