diff mbox

[11/31] scripts/spelling.txt: add "embeded" pattern and fix typo instances

Message ID 1481573103-11329-12-git-send-email-yamada.masahiro@socionext.com
State New
Headers show

Commit Message

Masahiro Yamada Dec. 12, 2016, 8:04 p.m. UTC
Fix typos and add the following to the scripts/spelling.txt:

  embeded||embedded

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 block/blk-throttle.c             | 2 +-
 drivers/nvme/host/rdma.c         | 2 +-
 drivers/scsi/osd/osd_initiator.c | 2 +-
 scripts/spelling.txt             | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

-- 
2.7.4
diff mbox

Patch

diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index a6bb4fe..6f4c96e 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -185,7 +185,7 @@  static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq)
  * sq_to_td - return throtl_data the specified service queue belongs to
  * @sq: the throtl_service_queue of interest
  *
- * A service_queue can be embeded in either a throtl_grp or throtl_data.
+ * A service_queue can be embedded in either a throtl_grp or throtl_data.
  * Determine the associated throtl_data accordingly and return it.
  */
 static struct throtl_data *sq_to_td(struct throtl_service_queue *sq)
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index f42ab70..25e3e7f 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -1044,7 +1044,7 @@  static int nvme_rdma_post_send(struct nvme_rdma_queue *queue,
 	 * sequencer is not allocated in our driver's tagset and it's
 	 * triggered to be freed by blk_cleanup_queue(). So we need to
 	 * always mark it as signaled to ensure that the "wr_cqe", which is
-	 * embeded in request's payload, is not freed when __ib_process_cq()
+	 * embedded in request's payload, is not freed when __ib_process_cq()
 	 * calls wr_cqe->done().
 	 */
 	if ((++queue->sig_count % 32) == 0 || flush)
diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c
index ef99f62..2d2db99 100644
--- a/drivers/scsi/osd/osd_initiator.c
+++ b/drivers/scsi/osd/osd_initiator.c
@@ -1675,7 +1675,7 @@  int osd_finalize_request(struct osd_request *or,
 		}
 	} else {
 		/* TODO: I think that for the GET_ATTR command these 2 should
-		 * be reversed to keep them in execution order (for embeded
+		 * be reversed to keep them in execution order (for embedded
 		 * targets with low memory footprint)
 		 */
 		ret = _osd_req_finalize_set_attr_list(or);
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index cf480fb..d575c4e 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -380,6 +380,7 @@  efficently||efficiently
 ehther||ether
 eigth||eight
 eletronic||electronic
+embeded||embedded
 enabledi||enabled
 enchanced||enhanced
 encorporating||incorporating