Re: [PATCH 7/8] powerpc: Fix typos

2024-01-03 Thread Randy Dunlap



On 1/3/24 15:16, Bjorn Helgaas wrote:
> From: Bjorn Helgaas 
> 
> Fix typos, most reported by "codespell arch/powerpc".  Only touches
> comments, no code changes.
> 
> Signed-off-by: Bjorn Helgaas 
> Cc: Nicholas Piggin 
> Cc: Christophe Leroy 
> Cc: linuxppc-dev@lists.ozlabs.org
> ---
>  arch/powerpc/boot/Makefile   |  4 ++--
>  arch/powerpc/boot/dts/acadia.dts |  2 +-
>  arch/powerpc/boot/main.c |  2 +-
>  arch/powerpc/boot/ps3.c  |  2 +-
>  arch/powerpc/include/asm/io.h|  2 +-
>  arch/powerpc/include/asm/opal-api.h  |  4 ++--
>  arch/powerpc/include/asm/pmac_feature.h  |  2 +-
>  arch/powerpc/include/asm/uninorth.h  |  2 +-
>  arch/powerpc/include/uapi/asm/bootx.h|  2 +-
>  arch/powerpc/kernel/eeh_pe.c |  2 +-
>  arch/powerpc/kernel/fadump.c |  2 +-
>  arch/powerpc/kernel/misc_64.S|  4 ++--
>  arch/powerpc/kernel/process.c| 12 ++--
>  arch/powerpc/kernel/ptrace/ptrace-tm.c   |  2 +-
>  arch/powerpc/kernel/smp.c|  2 +-
>  arch/powerpc/kernel/sysfs.c  |  4 ++--
>  arch/powerpc/kvm/book3s_xive.c   |  2 +-
>  arch/powerpc/mm/cacheflush.c |  2 +-
>  arch/powerpc/mm/nohash/kaslr_booke.c |  2 +-
>  arch/powerpc/platforms/512x/mpc512x_shared.c |  2 +-
>  arch/powerpc/platforms/cell/spufs/sched.c|  2 +-
>  arch/powerpc/platforms/maple/pci.c   |  2 +-
>  arch/powerpc/platforms/powermac/pic.c|  2 +-
>  arch/powerpc/platforms/powermac/sleep.S  |  2 +-
>  arch/powerpc/platforms/powernv/pci-sriov.c   |  4 ++--
>  arch/powerpc/platforms/powernv/vas-window.c  |  2 +-
>  arch/powerpc/platforms/pseries/vas.c |  2 +-
>  arch/powerpc/sysdev/xive/common.c|  4 ++--
>  arch/powerpc/sysdev/xive/native.c|  2 +-
>  29 files changed, 40 insertions(+), 40 deletions(-)

Reviewed-by: Randy Dunlap 

Thanks.

-- 
#Randy


[PATCH 7/8] powerpc: Fix typos

2024-01-03 Thread Bjorn Helgaas
From: Bjorn Helgaas 

Fix typos, most reported by "codespell arch/powerpc".  Only touches
comments, no code changes.

Signed-off-by: Bjorn Helgaas 
Cc: Nicholas Piggin 
Cc: Christophe Leroy 
Cc: linuxppc-dev@lists.ozlabs.org
---
 arch/powerpc/boot/Makefile   |  4 ++--
 arch/powerpc/boot/dts/acadia.dts |  2 +-
 arch/powerpc/boot/main.c |  2 +-
 arch/powerpc/boot/ps3.c  |  2 +-
 arch/powerpc/include/asm/io.h|  2 +-
 arch/powerpc/include/asm/opal-api.h  |  4 ++--
 arch/powerpc/include/asm/pmac_feature.h  |  2 +-
 arch/powerpc/include/asm/uninorth.h  |  2 +-
 arch/powerpc/include/uapi/asm/bootx.h|  2 +-
 arch/powerpc/kernel/eeh_pe.c |  2 +-
 arch/powerpc/kernel/fadump.c |  2 +-
 arch/powerpc/kernel/misc_64.S|  4 ++--
 arch/powerpc/kernel/process.c| 12 ++--
 arch/powerpc/kernel/ptrace/ptrace-tm.c   |  2 +-
 arch/powerpc/kernel/smp.c|  2 +-
 arch/powerpc/kernel/sysfs.c  |  4 ++--
 arch/powerpc/kvm/book3s_xive.c   |  2 +-
 arch/powerpc/mm/cacheflush.c |  2 +-
 arch/powerpc/mm/nohash/kaslr_booke.c |  2 +-
 arch/powerpc/platforms/512x/mpc512x_shared.c |  2 +-
 arch/powerpc/platforms/cell/spufs/sched.c|  2 +-
 arch/powerpc/platforms/maple/pci.c   |  2 +-
 arch/powerpc/platforms/powermac/pic.c|  2 +-
 arch/powerpc/platforms/powermac/sleep.S  |  2 +-
 arch/powerpc/platforms/powernv/pci-sriov.c   |  4 ++--
 arch/powerpc/platforms/powernv/vas-window.c  |  2 +-
 arch/powerpc/platforms/pseries/vas.c |  2 +-
 arch/powerpc/sysdev/xive/common.c|  4 ++--
 arch/powerpc/sysdev/xive/native.c|  2 +-
 29 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 968aee2025b8..9c2b6e527ed1 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -108,8 +108,8 @@ DTC_FLAGS   ?= -p 1024
 # these files into the build dir, fix up any includes and ensure that dependent
 # files are copied in the right order.
 
-# these need to be seperate variables because they are copied out of different
-# directories in the kernel tree. Sure you COULd merge them, but it's a
+# these need to be separate variables because they are copied out of different
+# directories in the kernel tree. Sure you COULD merge them, but it's a
 # cure-is-worse-than-disease situation.
 zlib-decomp-$(CONFIG_KERNEL_GZIP) := decompress_inflate.c
 zlib-$(CONFIG_KERNEL_GZIP) := inffast.c inflate.c inftrees.c
diff --git a/arch/powerpc/boot/dts/acadia.dts b/arch/powerpc/boot/dts/acadia.dts
index deb52e41ab84..5fedda811378 100644
--- a/arch/powerpc/boot/dts/acadia.dts
+++ b/arch/powerpc/boot/dts/acadia.dts
@@ -172,7 +172,7 @@ ieee1588@ef602800 {
reg = <0xef602800 0x60>;
interrupt-parent = <>;
interrupts = <0x4 0x4>;
-   /* This thing is a bit weird.  It has it's own 
UIC
+   /* This thing is a bit weird.  It has its own 
UIC
 * that it uses to generate snapshot triggers.  
We
 * don't really support this device yet, and it 
needs
 * work to figure this out.
diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c
index cae31a6e8f02..2c0e2a1cab01 100644
--- a/arch/powerpc/boot/main.c
+++ b/arch/powerpc/boot/main.c
@@ -188,7 +188,7 @@ static inline void prep_esm_blob(struct addr_range vmlinux, 
void *chosen) { }
 
 /* A buffer that may be edited by tools operating on a zImage binary so as to
  * edit the command line passed to vmlinux (by setting /chosen/bootargs).
- * The buffer is put in it's own section so that tools may locate it easier.
+ * The buffer is put in its own section so that tools may locate it easier.
  */
 static char cmdline[BOOT_COMMAND_LINE_SIZE]
__attribute__((__section__("__builtin_cmdline")));
diff --git a/arch/powerpc/boot/ps3.c b/arch/powerpc/boot/ps3.c
index f157717ae814..89ff46b8b225 100644
--- a/arch/powerpc/boot/ps3.c
+++ b/arch/powerpc/boot/ps3.c
@@ -25,7 +25,7 @@ BSS_STACK(4096);
 
 /* A buffer that may be edited by tools operating on a zImage binary so as to
  * edit the command line passed to vmlinux (by setting /chosen/bootargs).
- * The buffer is put in it's own section so that tools may locate it easier.
+ * The buffer is put in its own section so that tools may locate it easier.
  */
 
 static char cmdline[BOOT_COMMAND_LINE_SIZE]
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h
index 5220274a6277..7fb001ab3109 100644
--- a/arch/powerpc/include/asm/io.h
+++ b/arch/powerpc/include/asm/io.h
@@ -989,7 +989,7 @@ static inline phys_addr_t page_to_phys(struct page *page)