* [PATCH] sh: cleanup comments
@ 2022-02-26 16:00 trix
0 siblings, 0 replies; 2+ messages in thread
From: trix @ 2022-02-26 16:00 UTC (permalink / raw)
To: ysato, dalias, geert, rmk+kernel, peterz, keescook
Cc: linux-sh, linux-kernel, Tom Rix
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
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH] sh: cleanup comments
@ 2022-02-16 1:34 trix
0 siblings, 0 replies; 2+ messages in thread
From: trix @ 2022-02-16 1:34 UTC (permalink / raw)
To: ysato, dalias; +Cc: linux-sh, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
Replacements:
SPDX--License-Identifier to SPDX-License-Identifier
incase to in case
Adaptor to Adapter
overruning to overrunning
Signed-off-by: Tom Rix <trix@redhat.com>
---
arch/sh/drivers/dma/dma-sh.c | 2 +-
arch/sh/drivers/pci/fixups-dreamcast.c | 2 +-
arch/sh/drivers/pci/pci-dreamcast.c | 2 +-
arch/sh/drivers/pci/pci-sh7751.c | 2 +-
arch/sh/drivers/platform_early.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/sh/drivers/dma/dma-sh.c b/arch/sh/drivers/dma/dma-sh.c
index 96c626c2cd0a..38e2d62c330c 100644
--- a/arch/sh/drivers/dma/dma-sh.c
+++ b/arch/sh/drivers/dma/dma-sh.c
@@ -261,7 +261,7 @@ static inline int dmaor_reset(int no)
{
unsigned long dmaor = dmaor_read_reg(no);
- /* Try to clear the error flags first, incase they are set */
+ /* Try to clear the error flags first, in case they are set */
dmaor &= ~(DMAOR_NMIF | DMAOR_AE);
dmaor_write_reg(no, dmaor);
diff --git a/arch/sh/drivers/pci/fixups-dreamcast.c b/arch/sh/drivers/pci/fixups-dreamcast.c
index 41e4daee8f04..2e8a1e2233a3 100644
--- a/arch/sh/drivers/pci/fixups-dreamcast.c
+++ b/arch/sh/drivers/pci/fixups-dreamcast.c
@@ -9,7 +9,7 @@
*
* This file originally bore the message (with enclosed-$):
* Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp
- * Dreamcast PCI: Supports SEGA Broadband Adaptor only.
+ * Dreamcast PCI: Supports SEGA Broadband Adapter only.
*/
#include <linux/sched.h>
diff --git a/arch/sh/drivers/pci/pci-dreamcast.c b/arch/sh/drivers/pci/pci-dreamcast.c
index 4cff2a8107bf..c48ae4576d24 100644
--- a/arch/sh/drivers/pci/pci-dreamcast.c
+++ b/arch/sh/drivers/pci/pci-dreamcast.c
@@ -7,7 +7,7 @@
*
* This file originally bore the message (with enclosed-$):
* Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp
- * Dreamcast PCI: Supports SEGA Broadband Adaptor only.
+ * Dreamcast PCI: Supports SEGA Broadband Adapter only.
*/
#include <linux/sched.h>
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c
index 11ed21c2e9bb..0324ab2564d8 100644
--- a/arch/sh/drivers/pci/pci-sh7751.c
+++ b/arch/sh/drivers/pci/pci-sh7751.c
@@ -170,7 +170,7 @@ static int __init sh7751_pci_init(void)
pci_fixup_pcic(chan);
/* SH7751 init done, set central function init complete */
- /* use round robin mode to stop a device starving/overruning */
+ /* use round robin mode to stop a device starving/overrunning */
word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_ARBM;
pci_write_reg(chan, word, SH4_PCICR);
diff --git a/arch/sh/drivers/platform_early.c b/arch/sh/drivers/platform_early.c
index 143747c45206..1c2a571a8ab8 100644
--- a/arch/sh/drivers/platform_early.c
+++ b/arch/sh/drivers/platform_early.c
@@ -1,4 +1,4 @@
-// SPDX--License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
#include <asm/platform_early.h>
#include <linux/mod_devicetable.h>
--
2.26.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-26 16:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-26 16:00 [PATCH] sh: cleanup comments trix
-- strict thread matches above, loose matches on Subject: below --
2022-02-16 1:34 trix
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®