Skip to content

Commit

Permalink
scripts/spelling.txt: add "memory" pattern and fix typos
Browse files Browse the repository at this point in the history
Fix typos and add the following to the scripts/spelling.txt:

      momery||memory

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
bebarino authored and torvalds committed May 9, 2017
1 parent 19809c2 commit d1b7c93
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/hns/hns_roce_hw_v1.c
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@ int hns_roce_v1_write_mtpt(void *mb_buf, struct hns_roce_mr *mr,
roce_set_field(mpt_entry->mpt_byte_64, MPT_BYTE_64_L_KEY_IDX_H_M,
MPT_BYTE_64_L_KEY_IDX_H_S, mtpt_idx >> MTPT_IDX_SHIFT);

/* DMA momery regsiter */
/* DMA memory regsiter */
if (mr->type == MR_TYPE_DMA)
return 0;

Expand Down
2 changes: 1 addition & 1 deletion drivers/leds/leds-lp5521.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static void lp5521_firmware_loaded(struct lp55xx_chip *chip)
}

/*
* Program momery sequence
* Program memory sequence
* 1) set engine mode to "LOAD"
* 2) write firmware data into program memory
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/leds/leds-lp5523.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ static void lp5523_firmware_loaded(struct lp55xx_chip *chip)
}

/*
* Program momery sequence
* Program memory sequence
* 1) set engine mode to "LOAD"
* 2) write firmware data into program memory
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/leds/leds-lp5562.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static void lp5562_firmware_loaded(struct lp55xx_chip *chip)
}

/*
* Program momery sequence
* Program memory sequence
* 1) set engine mode to "LOAD"
* 2) write firmware data into program memory
*/
Expand Down
1 change: 1 addition & 0 deletions scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ miximum||maximum
mmnemonic||mnemonic
mnay||many
modulues||modules
momery||memory
monochorome||monochrome
monochromo||monochrome
monocrome||monochrome
Expand Down

0 comments on commit d1b7c93

Please sign in to comment.