Linux-csky Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] csky: fix typos
@ 2021-03-06  3:23 angkery
  2021-03-06  4:17 ` Guo Ren
  0 siblings, 1 reply; 2+ messages in thread
From: angkery @ 2021-03-06  3:23 UTC (permalink / raw)
  To: guoren; +Cc: linux-csky, linux-kernel, Junlin Yang

From: Junlin Yang <yangjunlin@yulong.com>

fixes three typos found by codespell.

Signed-off-by: Junlin Yang <yangjunlin@yulong.com>
---
 arch/csky/include/asm/asid.h    | 2 +-
 arch/csky/include/asm/barrier.h | 2 +-
 arch/csky/include/asm/vdso.h    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/csky/include/asm/asid.h b/arch/csky/include/asm/asid.h
index ac08b0f..6ff205a 100644
--- a/arch/csky/include/asm/asid.h
+++ b/arch/csky/include/asm/asid.h
@@ -37,7 +37,7 @@ void asid_new_context(struct asid_info *info, atomic64_t *pasid,
  * Check the ASID is still valid for the context. If not generate a new ASID.
  *
  * @pasid: Pointer to the current ASID batch
- * @cpu: current CPU ID. Must have been acquired throught get_cpu()
+ * @cpu: current CPU ID. Must have been acquired through get_cpu()
  */
 static inline void asid_check_context(struct asid_info *info,
 				      atomic64_t *pasid, unsigned int cpu,
diff --git a/arch/csky/include/asm/barrier.h b/arch/csky/include/asm/barrier.h
index 84fc600c..f4045dd 100644
--- a/arch/csky/include/asm/barrier.h
+++ b/arch/csky/include/asm/barrier.h
@@ -64,7 +64,7 @@
 
 /*
  * sync:        completion barrier, all sync.xx instructions
- *              guarantee the last response recieved by bus transaction
+ *              guarantee the last response received by bus transaction
  *              made by ld/st instructions before sync.s
  * sync.s:      inherit from sync, but also shareable to other cores
  * sync.i:      inherit from sync, but also flush cpu pipeline
diff --git a/arch/csky/include/asm/vdso.h b/arch/csky/include/asm/vdso.h
index eb5142f..bdce581 100644
--- a/arch/csky/include/asm/vdso.h
+++ b/arch/csky/include/asm/vdso.h
@@ -16,7 +16,7 @@ struct vdso_data {
  * offset of 0, but since the linker must support setting weak undefined
  * symbols to the absolute address 0 it also happens to support other low
  * addresses even when the code model suggests those low addresses would not
- * otherwise be availiable.
+ * otherwise be available.
  */
 #define VDSO_SYMBOL(base, name)							\
 ({										\
-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] csky: fix typos
  2021-03-06  3:23 [PATCH] csky: fix typos angkery
@ 2021-03-06  4:17 ` Guo Ren
  0 siblings, 0 replies; 2+ messages in thread
From: Guo Ren @ 2021-03-06  4:17 UTC (permalink / raw)
  To: angkery; +Cc: linux-csky, Linux Kernel Mailing List, Junlin Yang

Thx,

Looks good to me, Signed-off-by.

On Sat, Mar 6, 2021 at 11:23 AM angkery <angkery@163.com> wrote:
>
> From: Junlin Yang <yangjunlin@yulong.com>
>
> fixes three typos found by codespell.
>
> Signed-off-by: Junlin Yang <yangjunlin@yulong.com>
> ---
>  arch/csky/include/asm/asid.h    | 2 +-
>  arch/csky/include/asm/barrier.h | 2 +-
>  arch/csky/include/asm/vdso.h    | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/csky/include/asm/asid.h b/arch/csky/include/asm/asid.h
> index ac08b0f..6ff205a 100644
> --- a/arch/csky/include/asm/asid.h
> +++ b/arch/csky/include/asm/asid.h
> @@ -37,7 +37,7 @@ void asid_new_context(struct asid_info *info, atomic64_t *pasid,
>   * Check the ASID is still valid for the context. If not generate a new ASID.
>   *
>   * @pasid: Pointer to the current ASID batch
> - * @cpu: current CPU ID. Must have been acquired throught get_cpu()
> + * @cpu: current CPU ID. Must have been acquired through get_cpu()
>   */
>  static inline void asid_check_context(struct asid_info *info,
>                                       atomic64_t *pasid, unsigned int cpu,
> diff --git a/arch/csky/include/asm/barrier.h b/arch/csky/include/asm/barrier.h
> index 84fc600c..f4045dd 100644
> --- a/arch/csky/include/asm/barrier.h
> +++ b/arch/csky/include/asm/barrier.h
> @@ -64,7 +64,7 @@
>
>  /*
>   * sync:        completion barrier, all sync.xx instructions
> - *              guarantee the last response recieved by bus transaction
> + *              guarantee the last response received by bus transaction
>   *              made by ld/st instructions before sync.s
>   * sync.s:      inherit from sync, but also shareable to other cores
>   * sync.i:      inherit from sync, but also flush cpu pipeline
> diff --git a/arch/csky/include/asm/vdso.h b/arch/csky/include/asm/vdso.h
> index eb5142f..bdce581 100644
> --- a/arch/csky/include/asm/vdso.h
> +++ b/arch/csky/include/asm/vdso.h
> @@ -16,7 +16,7 @@ struct vdso_data {
>   * offset of 0, but since the linker must support setting weak undefined
>   * symbols to the absolute address 0 it also happens to support other low
>   * addresses even when the code model suggests those low addresses would not
> - * otherwise be availiable.
> + * otherwise be available.
>   */
>  #define VDSO_SYMBOL(base, name)                                                        \
>  ({                                                                             \
> --
> 1.9.1
>
>


-- 
Best Regards
 Guo Ren

ML: https://lore.kernel.org/linux-csky/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-06  3:23 [PATCH] csky: fix typos angkery
2021-03-06  4:17 ` Guo Ren

Linux-csky Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-csky/0 linux-csky/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-csky linux-csky/ https://lore.kernel.org/linux-csky \
		linux-csky@vger.kernel.org
	public-inbox-index linux-csky

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-csky


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git