Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit facb9ec5 authored by Ryusuke Konishi's avatar Ryusuke Konishi Committed by Linus Torvalds
Browse files

nilfs2: clean trailing semicolons in macros

parent 4ad364ca
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -68,7 +68,7 @@ static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \
static const struct sysfs_ops nilfs_##name##_attr_ops = { \
static const struct sysfs_ops nilfs_##name##_attr_ops = { \
	.show	= nilfs_##name##_attr_show, \
	.show	= nilfs_##name##_attr_show, \
	.store	= nilfs_##name##_attr_store, \
	.store	= nilfs_##name##_attr_store, \
};
}


#define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \
#define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \
static void nilfs_##name##_attr_release(struct kobject *kobj) \
static void nilfs_##name##_attr_release(struct kobject *kobj) \
@@ -84,7 +84,7 @@ static struct kobj_type nilfs_##name##_ktype = { \
	.default_attrs	= nilfs_##name##_attrs, \
	.default_attrs	= nilfs_##name##_attrs, \
	.sysfs_ops	= &nilfs_##name##_attr_ops, \
	.sysfs_ops	= &nilfs_##name##_attr_ops, \
	.release	= nilfs_##name##_attr_release, \
	.release	= nilfs_##name##_attr_release, \
};
}


#define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \
#define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \
static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \
static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \
+3 −3
Original line number Original line Diff line number Diff line
@@ -66,7 +66,7 @@ struct nilfs_##name##_attr { \
			char *); \
			char *); \
	ssize_t (*store)(struct kobject *, struct attribute *, \
	ssize_t (*store)(struct kobject *, struct attribute *, \
			 const char *, size_t); \
			 const char *, size_t); \
};
}


NILFS_COMMON_ATTR_STRUCT(feature);
NILFS_COMMON_ATTR_STRUCT(feature);


@@ -77,7 +77,7 @@ struct nilfs_##name##_attr { \
			char *); \
			char *); \
	ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \
	ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \
			 const char *, size_t); \
			 const char *, size_t); \
};
}


NILFS_DEV_ATTR_STRUCT(dev);
NILFS_DEV_ATTR_STRUCT(dev);
NILFS_DEV_ATTR_STRUCT(segments);
NILFS_DEV_ATTR_STRUCT(segments);
@@ -93,7 +93,7 @@ struct nilfs_##name##_attr { \
			char *); \
			char *); \
	ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \
	ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \
			 const char *, size_t); \
			 const char *, size_t); \
};
}


NILFS_CP_ATTR_STRUCT(snapshot);
NILFS_CP_ATTR_STRUCT(snapshot);