scripts/spelling.txt: add regsiter -> register spelling mistake
This typo is quite common. Fix it and add it to the spelling file so that checkpatch catches it earlier. Link: http://lkml.kernel.org/r/20170317011131.6881-2-sboyd@codeaurora.org Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
d1b7c9344b
commit
ad61dd303a
@@ -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 memory regsiter */
|
||||
/* DMA memory register */
|
||||
if (mr->type == MR_TYPE_DMA)
|
||||
return 0;
|
||||
|
||||
|
@@ -205,7 +205,7 @@ int hns_roce_mtt_init(struct hns_roce_dev *hr_dev, int npages, int page_shift,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Note: if page_shift is zero, FAST memory regsiter */
|
||||
/* Note: if page_shift is zero, FAST memory register */
|
||||
mtt->page_shift = page_shift;
|
||||
|
||||
/* Compute MTT entry necessary */
|
||||
|
Reference in New Issue
Block a user