Loading drivers/net/mlx4/sense.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -53,7 +53,7 @@ static int mlx4_SENSE_PORT(struct mlx4_dev *dev, int port, if (out_param > 2) { if (out_param > 2) { mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", out_param); mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", out_param); return EINVAL; return -EINVAL; } } *type = out_param; *type = out_param; Loading Loading
drivers/net/mlx4/sense.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -53,7 +53,7 @@ static int mlx4_SENSE_PORT(struct mlx4_dev *dev, int port, if (out_param > 2) { if (out_param > 2) { mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", out_param); mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", out_param); return EINVAL; return -EINVAL; } } *type = out_param; *type = out_param; Loading