Skip to content
  • Luis de Bethencourt's avatar
    befs: fix style issues in header files · 12ecb38d
    Luis de Bethencourt authored
    
    
    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: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
    12ecb38d