diff mbox

IB/mlx4: trivial fix of spelling mistake on "argument"

Message ID 1461612410-27604-1-git-send-email-colin.king@canonical.com (mailing list archive)
State Accepted
Headers show

Commit Message

Colin King April 25, 2016, 7:26 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

fix spelling mistake, argumant -> argument

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/infiniband/hw/mlx4/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bart Van Assche April 25, 2016, 8:04 p.m. UTC | #1
On 04/25/2016 12:26 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> fix spelling mistake, argumant -> argument
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   drivers/infiniband/hw/mlx4/main.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
> index f014eaf..b01ef6e 100644
> --- a/drivers/infiniband/hw/mlx4/main.c
> +++ b/drivers/infiniband/hw/mlx4/main.c
> @@ -1601,7 +1601,7 @@ static int __mlx4_ib_create_flow(struct ib_qp *qp, struct ib_flow_attr *flow_att
>   	else if (ret == -ENXIO)
>   		pr_err("Device managed flow steering is disabled. Fail to register network rule.\n");
>   	else if (ret)
> -		pr_err("Invalid argumant. Fail to register network rule.\n");
> +		pr_err("Invalid argument. Fail to register network rule.\n");
>
>   	mlx4_free_cmd_mailbox(mdev->dev, mailbox);
>   	return ret;

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Doug Ledford May 13, 2016, 7:34 p.m. UTC | #2
On 04/25/2016 03:26 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> fix spelling mistake, argumant -> argument
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/infiniband/hw/mlx4/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
> index f014eaf..b01ef6e 100644
> --- a/drivers/infiniband/hw/mlx4/main.c
> +++ b/drivers/infiniband/hw/mlx4/main.c
> @@ -1601,7 +1601,7 @@ static int __mlx4_ib_create_flow(struct ib_qp *qp, struct ib_flow_attr *flow_att
>  	else if (ret == -ENXIO)
>  		pr_err("Device managed flow steering is disabled. Fail to register network rule.\n");
>  	else if (ret)
> -		pr_err("Invalid argumant. Fail to register network rule.\n");
> +		pr_err("Invalid argument. Fail to register network rule.\n");
>  
>  	mlx4_free_cmd_mailbox(mdev->dev, mailbox);
>  	return ret;
> 

Thanks, applied.
diff mbox

Patch

diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
index f014eaf..b01ef6e 100644
--- a/drivers/infiniband/hw/mlx4/main.c
+++ b/drivers/infiniband/hw/mlx4/main.c
@@ -1601,7 +1601,7 @@  static int __mlx4_ib_create_flow(struct ib_qp *qp, struct ib_flow_attr *flow_att
 	else if (ret == -ENXIO)
 		pr_err("Device managed flow steering is disabled. Fail to register network rule.\n");
 	else if (ret)
-		pr_err("Invalid argumant. Fail to register network rule.\n");
+		pr_err("Invalid argument. Fail to register network rule.\n");
 
 	mlx4_free_cmd_mailbox(mdev->dev, mailbox);
 	return ret;