• Luis de Bethencourt's avatar
    befs: fix style issues in super.c · 103c0fb3
    Luis de Bethencourt authored
    Fixing the following checkpatch.pl error:
    
    ERROR: "foo * bar" should be "foo *bar"
    +befs_load_sb(struct super_block *sb, befs_super_block * disk_sb)
    
    And the following warnings:
    
    WARNING: suspect code indent for conditional statements (8, 12)
    +       if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_LE)
    +           befs_sb->byte_order = BEFS_BYTESEX_LE;
    
    WARNING: suspect code indent for conditional statements (8, 12)
    +       else if (disk_sb->fs_byte_order == BEFS_BYTEORDER_NATIVE_BE)
    +           befs_sb->byte_order = BEFS_BYTESEX_BE;
    
    WARNING: break quoted strings at a space character
    +               befs_error(sb, "blocksize(%u) cannot be larger"
    +                          "than system pagesize(%lu)", befs_sb->block_size,
    
    WARNING: line over 80 characters
    +       if (befs_sb->log_start != befs_sb->log_end || befs_sb->flags == BEFS_DIRTY) {
    Signed-off-by: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
    Signed-off-by: default avatarSalah Triki <salah.triki@gmail.com>
    103c0fb3
super.c 3.35 KB