Skip to contentSkip to conversation

IB/qib: Fix typo in comments

PATCH In review Zhang Jiaming 2 participants 2 messages Jul 1, 2022 – Jul 4, 2022 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/qib: Fix typo in comments

There is a typo (writeable) in qib_file_ops.c and qib_sd7220.c's comments. Fix it.

---
 drivers/infiniband/hw/qib/qib_file_ops.c | 4 ++--
 drivers/infiniband/hw/qib/qib_sd7220.c   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/infiniband/hw/qib/qib_file_ops.c +2 -2
index aa290928cf96..f61e07f684cf 100644
@@ -851,7 +851,7 @@ static int mmap_rcvegrbufs(struct vm_area_struct *vma,
 		ret = -EPERM;
 		goto bail;
 	}
-	/* don't allow them to later change to writeable with mprotect */
+	/* don't allow them to later change to writable with mprotect */
 	vma->vm_flags &= ~VM_MAYWRITE;
 
 	start = vma->vm_start;
@@ -941,7 +941,7 @@ static int mmap_kvaddr(struct vm_area_struct *vma, u64 pgaddr,
 			goto bail;
 		}
 		/*
-		 * Don't allow permission to later change to writeable
+		 * Don't allow permission to later change to writable
 		 * with mprotect.
 		 */
 		vma->vm_flags &= ~VM_MAYWRITE;
drivers/infiniband/hw/qib/qib_sd7220.c +1 -1
index 81b810d006c0..1dc3ccf0cf1f 100644
@@ -587,7 +587,7 @@ static int epb_access(struct qib_devdata *dd, int sdnum, int claim)
 		/* Need to release */
 		u64 pollval;
 		/*
-		 * The only writeable bits are the request and CS.
+		 * The only writable bits are the request and CS.
 		 * Both should be clear
 		 */
 		u64 newval = 0;
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 8 lines · Zhang Jiaming

There is a typo (writeable) in qib_file_ops.c and qib_sd7220.c's comments. Fix it.

---
 drivers/infiniband/hw/qib/qib_file_ops.c | 4 ++--
 drivers/infiniband/hw/qib/qib_sd7220.c   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

I squashed this and the other one and applied to for-next

Thanks,
Jason