Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1391147

[PATCH 11/11] nilfs2: clean trailing semicolons in macros

From Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Newsgroups linux.kernel
Subject [PATCH 11/11] nilfs2: clean trailing semicolons in macros
Date 2016-04-29 15:40 +0200
Message-ID <rtgOf-6Lx-15@gated-at.bofh.it> (permalink)
References <rtgOd-6Lx-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Remove trailing semicolons from macros, as suggested by checkpatch.pl.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
---
 fs/nilfs2/sysfs.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/nilfs2/sysfs.h b/fs/nilfs2/sysfs.h
index 677e3a1..648cedf 100644
--- a/fs/nilfs2/sysfs.h
+++ b/fs/nilfs2/sysfs.h
@@ -66,7 +66,7 @@ struct nilfs_##name##_attr { \
 			char *); \
 	ssize_t (*store)(struct kobject *, struct attribute *, \
 			 const char *, size_t); \
-};
+}
 
 NILFS_COMMON_ATTR_STRUCT(feature);
 
@@ -77,7 +77,7 @@ struct nilfs_##name##_attr { \
 			char *); \
 	ssize_t (*store)(struct nilfs_##name##_attr *, struct the_nilfs *, \
 			 const char *, size_t); \
-};
+}
 
 NILFS_DEV_ATTR_STRUCT(dev);
 NILFS_DEV_ATTR_STRUCT(segments);
@@ -93,7 +93,7 @@ struct nilfs_##name##_attr { \
 			char *); \
 	ssize_t (*store)(struct nilfs_##name##_attr *, struct nilfs_root *, \
 			 const char *, size_t); \
-};
+}
 
 NILFS_CP_ATTR_STRUCT(snapshot);
 
-- 
1.8.3.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 11/11] nilfs2: clean trailing semicolons in macros Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> - 2016-04-29 15:40 +0200
  Re: [PATCH 11/11] nilfs2: clean trailing semicolons in macros Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> - 2016-05-09 16:20 +0200

csiph-web