Skip to content

Commit 0ddbbb8

Browse files
bjorn-helgaasmpe
authored andcommitted
powerpc: Fix typos
Fix typos, most reported by "codespell arch/powerpc". Only touches comments, no code changes. Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
1 parent 39434af commit 0ddbbb8

File tree

29 files changed

+40
-40
lines changed

29 files changed

+40
-40
lines changed

arch/powerpc/boot/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ DTC_FLAGS ?= -p 1024
108108
# these files into the build dir, fix up any includes and ensure that dependent
109109
# files are copied in the right order.
110110

111-
# these need to be seperate variables because they are copied out of different
112-
# directories in the kernel tree. Sure you COULd merge them, but it's a
111+
# these need to be separate variables because they are copied out of different
112+
# directories in the kernel tree. Sure you COULD merge them, but it's a
113113
# cure-is-worse-than-disease situation.
114114
zlib-decomp-$(CONFIG_KERNEL_GZIP) := decompress_inflate.c
115115
zlib-$(CONFIG_KERNEL_GZIP) := inffast.c inflate.c inftrees.c

arch/powerpc/boot/dts/acadia.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
reg = <0xef602800 0x60>;
173173
interrupt-parent = <&UIC0>;
174174
interrupts = <0x4 0x4>;
175-
/* This thing is a bit weird. It has it's own UIC
175+
/* This thing is a bit weird. It has its own UIC
176176
* that it uses to generate snapshot triggers. We
177177
* don't really support this device yet, and it needs
178178
* work to figure this out.

arch/powerpc/boot/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static inline void prep_esm_blob(struct addr_range vmlinux, void *chosen) { }
188188

189189
/* A buffer that may be edited by tools operating on a zImage binary so as to
190190
* edit the command line passed to vmlinux (by setting /chosen/bootargs).
191-
* The buffer is put in it's own section so that tools may locate it easier.
191+
* The buffer is put in its own section so that tools may locate it easier.
192192
*/
193193
static char cmdline[BOOT_COMMAND_LINE_SIZE]
194194
__attribute__((__section__("__builtin_cmdline")));

arch/powerpc/boot/ps3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ BSS_STACK(4096);
2525

2626
/* A buffer that may be edited by tools operating on a zImage binary so as to
2727
* edit the command line passed to vmlinux (by setting /chosen/bootargs).
28-
* The buffer is put in it's own section so that tools may locate it easier.
28+
* The buffer is put in its own section so that tools may locate it easier.
2929
*/
3030

3131
static char cmdline[BOOT_COMMAND_LINE_SIZE]

arch/powerpc/include/asm/io.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ static inline phys_addr_t page_to_phys(struct page *page)
982982
}
983983

984984
/*
985-
* 32 bits still uses virt_to_bus() for it's implementation of DMA
985+
* 32 bits still uses virt_to_bus() for its implementation of DMA
986986
* mappings se we have to keep it defined here. We also have some old
987987
* drivers (shame shame shame) that use bus_to_virt() and haven't been
988988
* fixed yet so I need to define it here.

arch/powerpc/include/asm/opal-api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,10 +1027,10 @@ struct opal_i2c_request {
10271027
* The host will pass on OPAL, a buffer of length OPAL_SYSEPOW_MAX
10281028
* with individual elements being 16 bits wide to fetch the system
10291029
* wide EPOW status. Each element in the buffer will contain the
1030-
* EPOW status in it's bit representation for a particular EPOW sub
1030+
* EPOW status in its bit representation for a particular EPOW sub
10311031
* class as defined here. So multiple detailed EPOW status bits
10321032
* specific for any sub class can be represented in a single buffer
1033-
* element as it's bit representation.
1033+
* element as its bit representation.
10341034
*/
10351035

10361036
/* System EPOW type */

arch/powerpc/include/asm/pmac_feature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static inline long pmac_call_feature(int selector, struct device_node* node,
192192

193193
/* PMAC_FTR_BMAC_ENABLE (struct device_node* node, 0, int value)
194194
* enable/disable the bmac (ethernet) cell of a mac-io ASIC, also drive
195-
* it's reset line
195+
* its reset line
196196
*/
197197
#define PMAC_FTR_BMAC_ENABLE PMAC_FTR_DEF(6)
198198

arch/powerpc/include/asm/uninorth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
#define UNI_N_HWINIT_STATE_SLEEPING 0x01
145145
#define UNI_N_HWINIT_STATE_RUNNING 0x02
146146
/* This last bit appear to be used by the bootROM to know the second
147-
* CPU has started and will enter it's sleep loop with IP=0
147+
* CPU has started and will enter its sleep loop with IP=0
148148
*/
149149
#define UNI_N_HWINIT_STATE_CPU1_FLAG 0x10000000
150150

arch/powerpc/include/uapi/asm/bootx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ typedef struct boot_infos
108108
/* ALL BELOW NEW (vers. 4) */
109109

110110
/* This defines the physical memory. Valid with BOOT_ARCH_NUBUS flag
111-
(non-PCI) only. On PCI, memory is contiguous and it's size is in the
111+
(non-PCI) only. On PCI, memory is contiguous and its size is in the
112112
device-tree. */
113113
boot_info_map_entry_t
114114
physMemoryMap[MAX_MEM_MAP_SIZE]; /* Where the phys memory is */

arch/powerpc/kernel/eeh_pe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ EXPORT_SYMBOL_GPL(eeh_pe_state_mark);
527527
* eeh_pe_mark_isolated
528528
* @pe: EEH PE
529529
*
530-
* Record that a PE has been isolated by marking the PE and it's children as
530+
* Record that a PE has been isolated by marking the PE and its children as
531531
* EEH_PE_ISOLATED (and EEH_PE_CFG_BLOCKED, if required) and their PCI devices
532532
* as pci_channel_io_frozen.
533533
*/

0 commit comments

Comments
 (0)