From 12ecb38d03cff0c6d09262f0334f4ded3242ae87 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Sun, 14 Aug 2016 18:31:38 +0100 Subject: befs: fix style issues in header files Fixing checkpatch.pl issues in befs header files: WARNING: Missing a blank line after declarations + befs_inode_addr iaddr; + iaddr.allocation_group = blockno >> BEFS_SB(sb)->ag_shift; WARNING: space prohibited between function name and open parenthesis '(' + return BEFS_SB(sb)->block_size / sizeof (befs_disk_inode_addr); ERROR: "foo * bar" should be "foo *bar" + const char *key, befs_off_t * value); ERROR: Macros with complex values should be enclosed in parentheses +#define PACKED __attribute__ ((__packed__)) Signed-off-by: Luis de Bethencourt --- fs/befs/btree.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fs/befs/btree.h') diff --git a/fs/befs/btree.h b/fs/befs/btree.h index f2a8f637e9e0..3da90f56cfd4 100644 --- a/fs/befs/btree.h +++ b/fs/befs/btree.h @@ -3,11 +3,9 @@ * */ - int befs_btree_find(struct super_block *sb, const befs_data_stream *ds, - const char *key, befs_off_t * value); + const char *key, befs_off_t *value); int befs_btree_read(struct super_block *sb, const befs_data_stream *ds, loff_t key_no, size_t bufsize, char *keybuf, - size_t * keysize, befs_off_t * value); - + size_t *keysize, befs_off_t *value); -- cgit v1.2.3