From: trix@redhat.com
To: ysato@users.sourceforge.jp, dalias@libc.org,
geert@linux-m68k.org, rmk+kernel@armlinux.org.uk,
peterz@infradead.org, keescook@chromium.org
Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
Tom Rix <trix@redhat.com>
Subject: [PATCH] sh: cleanup comments
Date: Sat, 26 Feb 2022 08:00:54 -0800 [thread overview]
Message-ID: <20220226160054.4176509-1-trix@redhat.com> (raw)
From: Tom Rix <trix@redhat.com>
spdx, remove the extra '-'
Replacements
Defitions to Definitions
highger to higher
mechanizm to mechanism
useable to usable
presision to precision
Signed-off-by: Tom Rix <trix@redhat.com>
---
arch/sh/include/asm/addrspace.h | 2 +-
arch/sh/include/asm/fixmap.h | 6 +++---
arch/sh/include/asm/platform_early.h | 2 +-
arch/sh/include/asm/processor_32.h | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/sh/include/asm/addrspace.h b/arch/sh/include/asm/addrspace.h
index 468fba333e896..1fba671326890 100644
--- a/arch/sh/include/asm/addrspace.h
+++ b/arch/sh/include/asm/addrspace.h
@@ -2,7 +2,7 @@
*
* Copyright (C) 1999 by Kaz Kojima
*
- * Defitions for the address spaces of the SH CPUs.
+ * Definitions for the address spaces of the SH CPUs.
*/
#ifndef __ASM_SH_ADDRSPACE_H
#define __ASM_SH_ADDRSPACE_H
diff --git a/arch/sh/include/asm/fixmap.h b/arch/sh/include/asm/fixmap.h
index b07fbc7f7bc6a..5bb7e60ccc7b0 100644
--- a/arch/sh/include/asm/fixmap.h
+++ b/arch/sh/include/asm/fixmap.h
@@ -26,7 +26,7 @@
*
* these 'compile-time allocated' memory buffers are
* fixed-size 4k pages. (or larger if used with an increment
- * highger than 1) use fixmap_set(idx,phys) to associate
+ * higher than 1) use fixmap_set(idx,phys) to associate
* physical memory with fixmap indices.
*
* TLB entries of such buffers will not be flushed across
@@ -34,7 +34,7 @@
*/
/*
- * on UP currently we will have no trace of the fixmap mechanizm,
+ * on UP currently we will have no trace of the fixmap mechanism,
* no page table allocations, etc. This might change in the
* future, say framebuffers for the console driver(s) could be
* fix-mapped?
@@ -53,7 +53,7 @@ enum fixed_addresses {
#ifdef CONFIG_IOREMAP_FIXED
/*
* FIX_IOREMAP entries are useful for mapping physical address
- * space before ioremap() is useable, e.g. really early in boot
+ * space before ioremap() is usable, e.g. really early in boot
* before kmalloc() is working.
*/
#define FIX_N_IOREMAPS 32
diff --git a/arch/sh/include/asm/platform_early.h b/arch/sh/include/asm/platform_early.h
index fc802137c37d4..00b6e6dc4ac4a 100644
--- a/arch/sh/include/asm/platform_early.h
+++ b/arch/sh/include/asm/platform_early.h
@@ -1,4 +1,4 @@
-/* SPDX--License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PLATFORM_EARLY__
#define __PLATFORM_EARLY__
diff --git a/arch/sh/include/asm/processor_32.h b/arch/sh/include/asm/processor_32.h
index 45240ec6b85a4..0ca85637c3b99 100644
--- a/arch/sh/include/asm/processor_32.h
+++ b/arch/sh/include/asm/processor_32.h
@@ -158,7 +158,7 @@ static __inline__ void enable_fpu(void)
: "r" (~SR_FD));
}
-/* Double presision, NANS as NANS, rounding to nearest, no exceptions */
+/* Double precision, NANS as NANS, rounding to nearest, no exceptions */
#define FPSCR_INIT 0x00080000
#define FPSCR_CAUSE_MASK 0x0001f000 /* Cause bits */
--
2.26.3
next reply other threads:[~2022-02-26 16:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-26 16:00 trix [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-16 1:34 trix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220226160054.4176509-1-trix@redhat.com \
--to=trix@redhat.com \
--cc=dalias@libc.org \
--cc=geert@linux-m68k.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rmk+kernel@armlinux.org.uk \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®