Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1363387 > unrolled thread
| Started by | Octavian Purdila <octavian.purdila@intel.com> |
|---|---|
| First post | 2016-03-23 13:20 +0100 |
| Last post | 2016-03-23 17:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] configfs: fix CONFIGFS_BIN_ATTR_[RW]O definitions Octavian Purdila <octavian.purdila@intel.com> - 2016-03-23 13:20 +0100
Re: [PATCH] configfs: fix CONFIGFS_BIN_ATTR_[RW]O definitions Christoph Hellwig <hch@lst.de> - 2016-03-23 17:40 +0100
| From | Octavian Purdila <octavian.purdila@intel.com> |
|---|---|
| Date | 2016-03-23 13:20 +0100 |
| Subject | [PATCH] configfs: fix CONFIGFS_BIN_ATTR_[RW]O definitions |
| Message-ID | <rfPVw-3dP-11@gated-at.bofh.it> |
The type should be struct configfs_bin_attribute and not struct
configfs_attribute.
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
---
include/linux/configfs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/configfs.h b/include/linux/configfs.h
index f8165c1..ada0613 100644
--- a/include/linux/configfs.h
+++ b/include/linux/configfs.h
@@ -181,7 +181,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, \
@@ -193,7 +193,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, \
--
1.9.1
[toc] | [next] | [standalone]
| From | Christoph Hellwig <hch@lst.de> |
|---|---|
| Date | 2016-03-23 17:40 +0100 |
| Message-ID | <rfTZ8-69G-9@gated-at.bofh.it> |
| In reply to | #1363387 |
Thanks, I'll queue it up.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web