diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2016-05-23 19:23:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:04:14 -0400 |
commit | facb9ec5e6e376c25a00bb7a64332287c7a1403c (patch) | |
tree | a7849c3a596f58939b858b2140ddebbd11e28c12 | |
parent | 4ad364ca1ce3f4f96e04aaeb7974de4380eb6004 (diff) |
nilfs2: clean trailing semicolons in macros
Remove trailing semicolons from macros, as suggested by checkpatch.pl.
Link: http://lkml.kernel.org/r/1461935747-10380-12-git-send-email-konishi.ryusuke@lab.ntt.co.jp
[konishi.ryusuke@lab.ntt.co.jp: fix style issues]
Link: http://lkml.kernel.org/r/20160509.231703.1481729973362188932.konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/nilfs2/sysfs.c | 4 | ||||
-rw-r--r-- | fs/nilfs2/sysfs.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/nilfs2/sysfs.c b/fs/nilfs2/sysfs.c index bbb0dcc35905..3e7d85335adf 100644 --- a/fs/nilfs2/sysfs.c +++ b/fs/nilfs2/sysfs.c | |||
@@ -68,7 +68,7 @@ static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \ | |||
68 | static const struct sysfs_ops nilfs_##name##_attr_ops = { \ | 68 | static const struct sysfs_ops nilfs_##name##_attr_ops = { \ |
69 | .show = nilfs_##name##_attr_show, \ | 69 | .show = nilfs_##name##_attr_show, \ |
70 | .store = nilfs_##name##_attr_store, \ | 70 | .store = nilfs_##name##_attr_store, \ |
71 | }; | 71 | } |
72 | 72 | ||
73 | #define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \ | 73 | #define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \ |
74 | static void nilfs_##name##_attr_release(struct kobject *kobj) \ | 74 | static void nilfs_##name##_attr_release(struct kobject *kobj) \ |
@@ -84,7 +84,7 @@ static struct kobj_type nilfs_##name##_ktype = { \ | |||
84 | .default_attrs = nilfs_##name##_attrs, \ | 84 | .default_attrs = nilfs_##name##_attrs, \ |
85 | .sysfs_ops = &nilfs_##name##_attr_ops, \ | 85 | .sysfs_ops = &nilfs_##name##_attr_ops, \ |
86 | .release = nilfs_##name##_attr_release, \ | 86 | .release = nilfs_##name##_attr_release, \ |
87 | }; | 87 | } |
88 | 88 | ||
89 | #define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \ | 89 | #define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \ |
90 | static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \ | 90 | static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \ |
diff --git a/fs/nilfs2/sysfs.h b/fs/nilfs2/sysfs.h index 677e3a1a8370..648cedf9c06e 100644 --- a/fs/nilfs2/sysfs.h +++ b/fs/nilfs2/sysfs.h | |||
@@ -66,7 +66,7 @@ struct nilfs_##name##_attr { \ | |||
66 | char *); \ | 66 | char *); \ |
67 | ssize_t (*store)(struct kobject *, struct attribute *, \ | 67 | ssize_t (*store)(struct kobject *, struct attribute *, \ |
68 | const char *, size_t); \ | 68 | const char *, size_t); \ |
69 | }; | 69 | } |
70 | 70 | ||
71 | NILFS_COMMON_ATTR_STRUCT(feature); | 71 | NILFS_COMMON_ATTR_STRUCT(feature); |
72 | 72 | ||
@@ -77,7 +77,7 @@ struct nilfs_##name##_attr { \ | |||
77 | char *); \ | 77 | char *); \ |
78 | ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \ | 78 | ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \ |
79 | const char *, size_t); \ | 79 | const char *, size_t); \ |
80 | }; | 80 | } |
81 | 81 | ||
82 | NILFS_DEV_ATTR_STRUCT(dev); | 82 | NILFS_DEV_ATTR_STRUCT(dev); |
83 | NILFS_DEV_ATTR_STRUCT(segments); | 83 | NILFS_DEV_ATTR_STRUCT(segments); |
@@ -93,7 +93,7 @@ struct nilfs_##name##_attr { \ | |||
93 | char *); \ | 93 | char *); \ |
94 | ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \ | 94 | ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \ |
95 | const char *, size_t); \ | 95 | const char *, size_t); \ |
96 | }; | 96 | } |
97 | 97 | ||
98 | NILFS_CP_ATTR_STRUCT(snapshot); | 98 | NILFS_CP_ATTR_STRUCT(snapshot); |
99 | 99 | ||