]> git.baikalelectronics.ru Git - kernel.git/commit
befs: fix style issues in header files
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Sun, 14 Aug 2016 17:31:38 +0000 (18:31 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 22 Dec 2016 11:25:22 +0000 (11:25 +0000)
commit2eace6af62383c461f8964778b386d3ceea96e38
treead26bcc331a779cda295dee9d145cb7251e226e7
parent70fc8dbb71714b2825387c08f08cda941c789076
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 <luisbg@osg.samsung.com>
fs/befs/befs.h
fs/befs/befs_fs_types.h
fs/befs/btree.h
fs/befs/datastream.h
fs/befs/inode.h
fs/befs/super.h