• Elad Kanfi's avatar
    net: nps_enet: fix coding style issues · ddbff3e8
    Elad Kanfi authored
    Fix following coding style problems :
    
    ERROR: else should follow close brace '}'
    +	}
    +	else { /* !dst_is_aligned */
    
    WARNING: Missing a blank line after declarations
    +			u32 buf = nps_enet_reg_get(priv, NPS_ENET_REG_RX_BUF);
    +			put_unaligned_be32(buf, reg);
    
    WARNING: Missing a blank line after declarations
    +		u32 buf;
    +		ioread32_rep(priv->regs_base + NPS_ENET_REG_RX_BUF, &buf, 1);
    
    CHECK: Blank lines aren't necessary before a close brace '}'
    +
    +	}
    
    total: 1 errors, 2 warnings, 1 checks, 683 lines checked
    Signed-off-by: default avatarElad Kanfi <eladkan@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ddbff3e8
nps_enet.c 19.3 KB