Skip to content

Commit a83179a

Browse files
committed
befs: fix style issues in debug.c
Fix all checkpatch.pl errors and warnings in debug.c: ERROR: trailing whitespace + * $ WARNING: Missing a blank line after declarations + va_list args; + va_start(args, fmt); ERROR: "foo * bar" should be "foo *bar" +befs_dump_inode(const struct super_block *sb, befs_inode * inode) ERROR: "foo * bar" should be "foo *bar" +befs_dump_super_block(const struct super_block *sb, befs_super_block * sup) ERROR: "foo * bar" should be "foo *bar" +befs_dump_small_data(const struct super_block *sb, befs_small_data * sd) WARNING: line over 80 characters +befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * super) ERROR: "foo * bar" should be "foo *bar" +befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * super) ERROR: "foo * bar" should be "foo *bar" +befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead * node) Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
1 parent 69973b8 commit a83179a

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎fs/befs/debug.c‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* linux/fs/befs/debug.c
3-
*
3+
*
44
* Copyright (C) 2001 Will Dyson (will_dyson at pobox.com)
55
*
66
* With help from the ntfs-tng driver by Anton Altparmakov
@@ -57,6 +57,7 @@ befs_debug(const struct super_block *sb, const char *fmt, ...)
5757

5858
struct va_format vaf;
5959
va_list args;
60+
6061
va_start(args, fmt);
6162
vaf.fmt = fmt;
6263
vaf.va = &args;
@@ -67,7 +68,7 @@ befs_debug(const struct super_block *sb, const char *fmt, ...)
6768
}
6869

6970
void
70-
befs_dump_inode(const struct super_block *sb, befs_inode * inode)
71+
befs_dump_inode(const struct super_block *sb, befs_inode *inode)
7172
{
7273
#ifdef CONFIG_BEFS_DEBUG
7374

@@ -151,7 +152,7 @@ befs_dump_inode(const struct super_block *sb, befs_inode * inode)
151152
*/
152153

153154
void
154-
befs_dump_super_block(const struct super_block *sb, befs_super_block * sup)
155+
befs_dump_super_block(const struct super_block *sb, befs_super_block *sup)
155156
{
156157
#ifdef CONFIG_BEFS_DEBUG
157158

@@ -202,7 +203,7 @@ befs_dump_super_block(const struct super_block *sb, befs_super_block * sup)
202203
#if 0
203204
/* unused */
204205
void
205-
befs_dump_small_data(const struct super_block *sb, befs_small_data * sd)
206+
befs_dump_small_data(const struct super_block *sb, befs_small_data *sd)
206207
{
207208
}
208209

@@ -221,7 +222,8 @@ befs_dump_run(const struct super_block *sb, befs_disk_block_run run)
221222
#endif /* 0 */
222223

223224
void
224-
befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * super)
225+
befs_dump_index_entry(const struct super_block *sb,
226+
befs_disk_btree_super *super)
225227
{
226228
#ifdef CONFIG_BEFS_DEBUG
227229

@@ -242,7 +244,7 @@ befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * supe
242244
}
243245

244246
void
245-
befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead * node)
247+
befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *node)
246248
{
247249
#ifdef CONFIG_BEFS_DEBUG
248250

0 commit comments

Comments
 (0)