diff mbox

[V2] CIFS: SMBD: fix spelling mistake: "faield" and "legnth"

Message ID 20180209121415.564-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Colin King Feb. 9, 2018, 12:14 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in log_rdma_send and log_rdma_mr
message text.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 fs/cifs/smbdirect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Aurélien Aptel Feb. 9, 2018, 12:48 p.m. UTC | #1
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Steve French Feb. 9, 2018, 11:57 p.m. UTC | #2
merged into cifs-2.6.git for-next

On Fri, Feb 9, 2018 at 6:14 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Trivial fix to spelling mistake in log_rdma_send and log_rdma_mr
> message text.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  fs/cifs/smbdirect.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c
> index 91710eb571fb..5aa0b54b32ce 100644
> --- a/fs/cifs/smbdirect.c
> +++ b/fs/cifs/smbdirect.c
> @@ -1025,7 +1025,7 @@ static int smbd_post_send(struct smbd_connection *info,
>
>         for (i = 0; i < request->num_sge; i++) {
>                 log_rdma_send(INFO,
> -                       "rdma_request sge[%d] addr=%llu legnth=%u\n",
> +                       "rdma_request sge[%d] addr=%llu length=%u\n",
>                         i, request->sge[0].addr, request->sge[0].length);
>                 ib_dma_sync_single_for_device(
>                         info->id->device,
> @@ -2295,7 +2295,7 @@ static void smbd_mr_recovery_work(struct work_struct *work)
>                                 rc = ib_dereg_mr(smbdirect_mr->mr);
>                                 if (rc) {
>                                         log_rdma_mr(ERR,
> -                                               "ib_dereg_mr faield rc=%x\n",
> +                                               "ib_dereg_mr failed rc=%x\n",
>                                                 rc);
>                                         smbd_disconnect_rdma_connection(info);
>                                 }
> --
> 2.15.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c
index 91710eb571fb..5aa0b54b32ce 100644
--- a/fs/cifs/smbdirect.c
+++ b/fs/cifs/smbdirect.c
@@ -1025,7 +1025,7 @@  static int smbd_post_send(struct smbd_connection *info,
 
 	for (i = 0; i < request->num_sge; i++) {
 		log_rdma_send(INFO,
-			"rdma_request sge[%d] addr=%llu legnth=%u\n",
+			"rdma_request sge[%d] addr=%llu length=%u\n",
 			i, request->sge[0].addr, request->sge[0].length);
 		ib_dma_sync_single_for_device(
 			info->id->device,
@@ -2295,7 +2295,7 @@  static void smbd_mr_recovery_work(struct work_struct *work)
 				rc = ib_dereg_mr(smbdirect_mr->mr);
 				if (rc) {
 					log_rdma_mr(ERR,
-						"ib_dereg_mr faield rc=%x\n",
+						"ib_dereg_mr failed rc=%x\n",
 						rc);
 					smbd_disconnect_rdma_connection(info);
 				}