diff mbox series

[v1] memstick: Fix typo in comment

Message ID 20240918081640.1493847-1-yujiaoliang@vivo.com (mailing list archive)
State New
Headers show
Series [v1] memstick: Fix typo in comment | expand

Commit Message

Yu Jiaoliang Sept. 18, 2024, 8:16 a.m. UTC
Fix typos:
exectly->exactly,
cylynders->cylinders,
intersting->interesting,
inteface->interface.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 drivers/memstick/core/ms_block.c | 6 +++---
 drivers/memstick/host/r592.c     | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Ulf Hansson Oct. 2, 2024, 11:36 p.m. UTC | #1
On Wed, 18 Sept 2024 at 10:17, Yu Jiaoliang <yujiaoliang@vivo.com> wrote:
>
> Fix typos:
> exectly->exactly,
> cylynders->cylinders,
> intersting->interesting,
> inteface->interface.
>
> Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/memstick/core/ms_block.c | 6 +++---
>  drivers/memstick/host/r592.c     | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c
> index 47a314a4eb6f..c0383959dbb2 100644
> --- a/drivers/memstick/core/ms_block.c
> +++ b/drivers/memstick/core/ms_block.c
> @@ -996,7 +996,7 @@ static int msb_verify_block(struct msb_data *msb, u16 pba,
>         return 0;
>  }
>
> -/* Writes exectly one block + oob */
> +/* Writes exactly one block + oob */
>  static int msb_write_block(struct msb_data *msb,
>                         u16 pba, u32 lba, struct scatterlist *sg, int offset)
>  {
> @@ -1684,7 +1684,7 @@ static int msb_cache_read(struct msb_data *msb, int lba,
>   */
>
>  static const struct chs_entry chs_table[] = {
> -/*        size sectors cylynders  heads */
> +/*        size sectors cylinders heads */
>         { 4,    16,    247,       2  },
>         { 8,    16,    495,       2  },
>         { 16,   16,    495,       4  },
> @@ -1729,7 +1729,7 @@ static int msb_init_card(struct memstick_dev *card)
>
>         boot_block = &msb->boot_page[0];
>
> -       /* Save intersting attributes from boot page */
> +       /* Save interesting attributes from boot page */
>         msb->block_count = boot_block->attr.number_of_blocks;
>         msb->page_size = boot_block->attr.page_size;
>
> diff --git a/drivers/memstick/host/r592.c b/drivers/memstick/host/r592.c
> index 461f5ffd02bc..544a31ff46e5 100644
> --- a/drivers/memstick/host/r592.c
> +++ b/drivers/memstick/host/r592.c
> @@ -675,7 +675,7 @@ static irqreturn_t r592_irq(int irq, void *data)
>         return ret;
>  }
>
> -/* External inteface: set settings */
> +/* External interface: set settings */
>  static int r592_set_param(struct memstick_host *host,
>                         enum memstick_param param, int value)
>  {
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c
index 47a314a4eb6f..c0383959dbb2 100644
--- a/drivers/memstick/core/ms_block.c
+++ b/drivers/memstick/core/ms_block.c
@@ -996,7 +996,7 @@  static int msb_verify_block(struct msb_data *msb, u16 pba,
 	return 0;
 }
 
-/* Writes exectly one block + oob */
+/* Writes exactly one block + oob */
 static int msb_write_block(struct msb_data *msb,
 			u16 pba, u32 lba, struct scatterlist *sg, int offset)
 {
@@ -1684,7 +1684,7 @@  static int msb_cache_read(struct msb_data *msb, int lba,
  */
 
 static const struct chs_entry chs_table[] = {
-/*        size sectors cylynders  heads */
+/*        size sectors cylinders heads */
 	{ 4,    16,    247,       2  },
 	{ 8,    16,    495,       2  },
 	{ 16,   16,    495,       4  },
@@ -1729,7 +1729,7 @@  static int msb_init_card(struct memstick_dev *card)
 
 	boot_block = &msb->boot_page[0];
 
-	/* Save intersting attributes from boot page */
+	/* Save interesting attributes from boot page */
 	msb->block_count = boot_block->attr.number_of_blocks;
 	msb->page_size = boot_block->attr.page_size;
 
diff --git a/drivers/memstick/host/r592.c b/drivers/memstick/host/r592.c
index 461f5ffd02bc..544a31ff46e5 100644
--- a/drivers/memstick/host/r592.c
+++ b/drivers/memstick/host/r592.c
@@ -675,7 +675,7 @@  static irqreturn_t r592_irq(int irq, void *data)
 	return ret;
 }
 
-/* External inteface: set settings */
+/* External interface: set settings */
 static int r592_set_param(struct memstick_host *host,
 			enum memstick_param param, int value)
 {