Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad5b39a9 authored by Or Gerlitz's avatar Or Gerlitz Committed by Saeed Mahameed
Browse files

net/mlx5: Add a blank line after declarations



To fix these checkpatch complaints:

WARNING: Missing a blank line after declarations

Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 733d6c51
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -258,6 +258,7 @@ EXPORT_SYMBOL_GPL(mlx5_db_alloc);
void mlx5_db_free(struct mlx5_core_dev *dev, struct mlx5_db *db)
void mlx5_db_free(struct mlx5_core_dev *dev, struct mlx5_db *db)
{
{
	u32 db_per_page = PAGE_SIZE / cache_line_size();
	u32 db_per_page = PAGE_SIZE / cache_line_size();

	mutex_lock(&dev->priv.pgdir_mutex);
	mutex_lock(&dev->priv.pgdir_mutex);


	__set_bit(db->index, db->u.pgdir->bitmap);
	__set_bit(db->index, db->u.pgdir->bitmap);
+1 −0
Original line number Original line Diff line number Diff line
@@ -188,6 +188,7 @@ static enum mlx5_dev_event port_subtype_event(u8 subtype)
static void eq_update_ci(struct mlx5_eq *eq, int arm)
static void eq_update_ci(struct mlx5_eq *eq, int arm)
{
{
	__be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2);
	__be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2);

	u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24);
	u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24);
	__raw_writel((__force u32)cpu_to_be32(val), addr);
	__raw_writel((__force u32)cpu_to_be32(val), addr);
	/* We still want ordering, just not swabbing, so add a barrier */
	/* We still want ordering, just not swabbing, so add a barrier */