linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arch/powerpc/: Spelling fixes
       [not found] <5703e57f925f31fc0eb38873bd7f10fc44f99cb4.1197918890.git.joe@perches.com>
@ 2007-12-17 19:30 ` Joe Perches
  2007-12-17 19:36   ` Josh Boyer
  2007-12-17 19:30 ` [PATCH] include/asm-powerpc/: " Joe Perches
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Joe Perches @ 2007-12-17 19:30 UTC (permalink / raw)
  To: linux-kernel
  Cc: paulus, linuxppc-dev, Paul Mackerras, Anton Blanchard,
	Andrew Morton, anton


Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/powerpc/boot/4xx.c                 |    2 +-
 arch/powerpc/kernel/legacy_serial.c     |    2 +-
 arch/powerpc/sysdev/bestcomm/bestcomm.h |    2 +-
 arch/powerpc/sysdev/mmio_nvram.c        |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c
index ebf9e21..3d0e4f9 100644
--- a/arch/powerpc/boot/4xx.c
+++ b/arch/powerpc/boot/4xx.c
@@ -122,7 +122,7 @@ void ibm4xx_denali_fixup_memsize(void)
 	else
 		dpath = 4; /* 32 bits */
 
-	/* get adress pins (rows) */
+	/* get address pins (rows) */
 	val = mfdcr_sdram0(DDR0_42);
 
 	row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT);
diff --git a/arch/powerpc/kernel/legacy_serial.c b/arch/powerpc/kernel/legacy_serial.c
index 4ed5887..b9cae6b 100644
--- a/arch/powerpc/kernel/legacy_serial.c
+++ b/arch/powerpc/kernel/legacy_serial.c
@@ -474,7 +474,7 @@ static int __init serial_dev_init(void)
 
 	/*
 	 * Before we register the platfrom serial devices, we need
-	 * to fixup their interrutps and their IO ports.
+	 * to fixup their interrupts and their IO ports.
 	 */
 	DBG("Fixing serial ports interrupts and IO ports ...\n");
 
diff --git a/arch/powerpc/sysdev/bestcomm/bestcomm.h b/arch/powerpc/sysdev/bestcomm/bestcomm.h
index e802cb4..c960a8b 100644
--- a/arch/powerpc/sysdev/bestcomm/bestcomm.h
+++ b/arch/powerpc/sysdev/bestcomm/bestcomm.h
@@ -20,7 +20,7 @@ struct bcom_bd; /* defined later on ... */
 
 
 /* ======================================================================== */
-/* Generic task managment                                                   */
+/* Generic task management                                                   */
 /* ======================================================================== */
 
 /**
diff --git a/arch/powerpc/sysdev/mmio_nvram.c b/arch/powerpc/sysdev/mmio_nvram.c
index e073e24..7b49633 100644
--- a/arch/powerpc/sysdev/mmio_nvram.c
+++ b/arch/powerpc/sysdev/mmio_nvram.c
@@ -99,7 +99,7 @@ int __init mmio_nvram_init(void)
 	nvram_addr = r.start;
 	mmio_nvram_len = r.end - r.start + 1;
 	if ( (!mmio_nvram_len) || (!nvram_addr) ) {
-		printk(KERN_WARNING "nvram: address or lenght is 0\n");
+		printk(KERN_WARNING "nvram: address or length is 0\n");
 		ret = -EIO;
 		goto out;
 	}
-- 
1.5.3.7.949.g2221a6

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

* [PATCH] include/asm-powerpc/: Spelling fixes
       [not found] <5703e57f925f31fc0eb38873bd7f10fc44f99cb4.1197918890.git.joe@perches.com>
  2007-12-17 19:30 ` [PATCH] arch/powerpc/: Spelling fixes Joe Perches
@ 2007-12-17 19:30 ` Joe Perches
  2007-12-17 19:30 ` [PATCH] arch/ppc/: " Joe Perches
  2007-12-17 19:30 ` [PATCH] include/asm-ppc/: " Joe Perches
  3 siblings, 0 replies; 7+ messages in thread
From: Joe Perches @ 2007-12-17 19:30 UTC (permalink / raw)
  To: linux-kernel
  Cc: paulus, linuxppc-dev, Paul Mackerras, Anton Blanchard,
	Andrew Morton, anton


Signed-off-by: Joe Perches <joe@perches.com>
---
 include/asm-powerpc/8xx_immap.h           |    2 +-
 include/asm-powerpc/commproc.h            |    2 +-
 include/asm-powerpc/iseries/hv_lp_event.h |    2 +-
 include/asm-powerpc/reg_booke.h           |    2 +-
 include/asm-powerpc/smu.h                 |   12 ++++++------
 include/asm-powerpc/spu.h                 |    2 +-
 include/asm-powerpc/spu_csa.h             |    2 +-
 7 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/include/asm-powerpc/8xx_immap.h b/include/asm-powerpc/8xx_immap.h
index 1311cef..4b0e152 100644
--- a/include/asm-powerpc/8xx_immap.h
+++ b/include/asm-powerpc/8xx_immap.h
@@ -123,7 +123,7 @@ typedef struct	mem_ctlr {
 #define OR_G5LA		0x00000400	/* Output #GPL5 on #GPL_A5		*/
 #define OR_G5LS		0x00000200	/* Drive #GPL high on falling edge of...*/
 #define OR_BI		0x00000100	/* Burst inhibit			*/
-#define OR_SCY_MSK	0x000000f0	/* Cycle Lenght in Clocks		*/
+#define OR_SCY_MSK	0x000000f0	/* Cycle Length in Clocks		*/
 #define OR_SCY_0_CLK	0x00000000	/* 0 clock cycles wait states		*/
 #define OR_SCY_1_CLK	0x00000010	/* 1 clock cycles wait states		*/
 #define OR_SCY_2_CLK	0x00000020	/* 2 clock cycles wait states		*/
diff --git a/include/asm-powerpc/commproc.h b/include/asm-powerpc/commproc.h
index a2328b8..0e192cc 100644
--- a/include/asm-powerpc/commproc.h
+++ b/include/asm-powerpc/commproc.h
@@ -693,7 +693,7 @@ typedef struct risc_timer_pram {
 #define	CICR_SCC_SCC3		((uint)0x00200000)	/* SCC3 @ SCCc */
 #define	CICR_SCB_SCC2		((uint)0x00040000)	/* SCC2 @ SCCb */
 #define	CICR_SCA_SCC1		((uint)0x00000000)	/* SCC1 @ SCCa */
-#define CICR_IRL_MASK		((uint)0x0000e000)	/* Core interrrupt */
+#define CICR_IRL_MASK		((uint)0x0000e000)	/* Core interrupt */
 #define CICR_HP_MASK		((uint)0x00001f00)	/* Hi-pri int. */
 #define CICR_IEN		((uint)0x00000080)	/* Int. enable */
 #define CICR_SPS		((uint)0x00000001)	/* SCC Spread */
diff --git a/include/asm-powerpc/iseries/hv_lp_event.h b/include/asm-powerpc/iseries/hv_lp_event.h
index 6ce2ce1..8f5da7d 100644
--- a/include/asm-powerpc/iseries/hv_lp_event.h
+++ b/include/asm-powerpc/iseries/hv_lp_event.h
@@ -78,7 +78,7 @@ extern int HvLpEvent_openPath(HvLpEvent_Type eventType, HvLpIndex lpIndex);
 
 /*
  * Close an Lp Event Path for a type and partition
- * returns 0 on sucess
+ * returns 0 on success
  */
 extern int HvLpEvent_closePath(HvLpEvent_Type eventType, HvLpIndex lpIndex);
 
diff --git a/include/asm-powerpc/reg_booke.h b/include/asm-powerpc/reg_booke.h
index 8fdc2b4..5e551f4 100644
--- a/include/asm-powerpc/reg_booke.h
+++ b/include/asm-powerpc/reg_booke.h
@@ -293,7 +293,7 @@
 #define ESR_IMCB	0x20000000	/* Instr. Machine Check - Bus error */
 #define ESR_IMCT	0x10000000	/* Instr. Machine Check - Timeout */
 #define ESR_PIL		0x08000000	/* Program Exception - Illegal */
-#define ESR_PPR		0x04000000	/* Program Exception - Priveleged */
+#define ESR_PPR		0x04000000	/* Program Exception - Privileged */
 #define ESR_PTR		0x02000000	/* Program Exception - Trap */
 #define ESR_FP		0x01000000	/* Floating Point Operation */
 #define ESR_DST		0x00800000	/* Storage Exception - Data miss */
diff --git a/include/asm-powerpc/smu.h b/include/asm-powerpc/smu.h
index e49f644..bcdd311 100644
--- a/include/asm-powerpc/smu.h
+++ b/include/asm-powerpc/smu.h
@@ -22,7 +22,7 @@
  * Partition info commands
  *
  * These commands are used to retrieve the sdb-partition-XX datas from
- * the SMU. The lenght is always 2. First byte is the subcommand code
+ * the SMU. The length is always 2. First byte is the subcommand code
  * and second byte is the partition ID.
  *
  * The reply is 6 bytes:
@@ -173,12 +173,12 @@
  * Power supply control
  *
  * The "sub" command is an ASCII string in the data, the
- * data lenght is that of the string.
+ * data length is that of the string.
  *
  * The VSLEW command can be used to get or set the voltage slewing.
- *  - lenght 5 (only "VSLEW") : it returns "DONE" and 3 bytes of
+ *  - length 5 (only "VSLEW") : it returns "DONE" and 3 bytes of
  *    reply at data offset 6, 7 and 8.
- *  - lenght 8 ("VSLEWxyz") has 3 additional bytes appended, and is
+ *  - length 8 ("VSLEWxyz") has 3 additional bytes appended, and is
  *    used to set the voltage slewing point. The SMU replies with "DONE"
  * I yet have to figure out their exact meaning of those 3 bytes in
  * both cases. They seem to be:
@@ -564,13 +564,13 @@ struct smu_user_cmd_hdr
 
 	__u8		cmd;			/* SMU command byte */
 	__u8		pad[3];			/* padding */
-	__u32		data_len;		/* Lenght of data following */
+	__u32		data_len;		/* Length of data following */
 };
 
 struct smu_user_reply_hdr
 {
 	__u32		status;			/* Command status */
-	__u32		reply_len;		/* Lenght of data follwing */
+	__u32		reply_len;		/* Length of data follwing */
 };
 
 #endif /*  _SMU_H */
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index b1accce..85ee4ca 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -299,7 +299,7 @@ int spu_switch_event_register(struct notifier_block * n);
 int spu_switch_event_unregister(struct notifier_block * n);
 
 /*
- * This defines the Local Store, Problem Area and Privlege Area of an SPU.
+ * This defines the Local Store, Problem Area and Privilege Area of an SPU.
  */
 
 union mfc_tag_size_class_cmd {
diff --git a/include/asm-powerpc/spu_csa.h b/include/asm-powerpc/spu_csa.h
index e87794d..867bc26 100644
--- a/include/asm-powerpc/spu_csa.h
+++ b/include/asm-powerpc/spu_csa.h
@@ -194,7 +194,7 @@ struct spu_priv1_collapsed {
 };
 
 /*
- * struct spu_priv2_collapsed - condensed priviliged 2 area, w/o pads.
+ * struct spu_priv2_collapsed - condensed privileged 2 area, w/o pads.
  */
 struct spu_priv2_collapsed {
 	u64 slb_index_W;
-- 
1.5.3.7.949.g2221a6

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

* [PATCH] arch/ppc/: Spelling fixes
       [not found] <5703e57f925f31fc0eb38873bd7f10fc44f99cb4.1197918890.git.joe@perches.com>
  2007-12-17 19:30 ` [PATCH] arch/powerpc/: Spelling fixes Joe Perches
  2007-12-17 19:30 ` [PATCH] include/asm-powerpc/: " Joe Perches
@ 2007-12-17 19:30 ` Joe Perches
  2007-12-17 20:42   ` Vitaly Bordug
  2007-12-17 19:30 ` [PATCH] include/asm-ppc/: " Joe Perches
  3 siblings, 1 reply; 7+ messages in thread
From: Joe Perches @ 2007-12-17 19:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Paul Mackerras, linuxppc-dev


Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/ppc/syslib/ppc8xx_pic.c |    2 +-
 arch/ppc/syslib/ppc_sys.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ppc/syslib/ppc8xx_pic.c b/arch/ppc/syslib/ppc8xx_pic.c
index e8619c7..bce9a75 100644
--- a/arch/ppc/syslib/ppc8xx_pic.c
+++ b/arch/ppc/syslib/ppc8xx_pic.c
@@ -16,7 +16,7 @@ extern int cpm_get_irq(void);
  * the only interrupt controller.  Some boards, like the MBX and
  * Sandpoint have the 8259 as a secondary controller.  Depending
  * upon the processor type, the internal controller can have as
- * few as 16 interrups or as many as 64.  We could use  the
+ * few as 16 interrupts or as many as 64.  We could use  the
  * "clear_bit()" and "set_bit()" functions like other platforms,
  * but they are overkill for us.
  */
diff --git a/arch/ppc/syslib/ppc_sys.c b/arch/ppc/syslib/ppc_sys.c
index 2d48018..837183c 100644
--- a/arch/ppc/syslib/ppc_sys.c
+++ b/arch/ppc/syslib/ppc_sys.c
@@ -185,7 +185,7 @@ void platform_notify_map(const struct platform_notify_dev_map *map,
  */
 
 /*
-   Here we'll replace .name pointers with fixed-lenght strings
+   Here we'll replace .name pointers with fixed-length strings
    Hereby, this should be called *before* any func stuff triggeded.
  */
 void ppc_sys_device_initfunc(void)
-- 
1.5.3.7.949.g2221a6

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

* [PATCH] include/asm-ppc/: Spelling fixes
       [not found] <5703e57f925f31fc0eb38873bd7f10fc44f99cb4.1197918890.git.joe@perches.com>
                   ` (2 preceding siblings ...)
  2007-12-17 19:30 ` [PATCH] arch/ppc/: " Joe Perches
@ 2007-12-17 19:30 ` Joe Perches
  3 siblings, 0 replies; 7+ messages in thread
From: Joe Perches @ 2007-12-17 19:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: linuxppc-dev, Andrew Morton, Paul Mackerras


Signed-off-by: Joe Perches <joe@perches.com>
---
 include/asm-ppc/8xx_immap.h |    2 +-
 include/asm-ppc/commproc.h  |    2 +-
 include/asm-ppc/reg_booke.h |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-ppc/8xx_immap.h b/include/asm-ppc/8xx_immap.h
index 1311cef..4b0e152 100644
--- a/include/asm-ppc/8xx_immap.h
+++ b/include/asm-ppc/8xx_immap.h
@@ -123,7 +123,7 @@ typedef struct	mem_ctlr {
 #define OR_G5LA		0x00000400	/* Output #GPL5 on #GPL_A5		*/
 #define OR_G5LS		0x00000200	/* Drive #GPL high on falling edge of...*/
 #define OR_BI		0x00000100	/* Burst inhibit			*/
-#define OR_SCY_MSK	0x000000f0	/* Cycle Lenght in Clocks		*/
+#define OR_SCY_MSK	0x000000f0	/* Cycle Length in Clocks		*/
 #define OR_SCY_0_CLK	0x00000000	/* 0 clock cycles wait states		*/
 #define OR_SCY_1_CLK	0x00000010	/* 1 clock cycles wait states		*/
 #define OR_SCY_2_CLK	0x00000020	/* 2 clock cycles wait states		*/
diff --git a/include/asm-ppc/commproc.h b/include/asm-ppc/commproc.h
index 3972487..462abb1 100644
--- a/include/asm-ppc/commproc.h
+++ b/include/asm-ppc/commproc.h
@@ -681,7 +681,7 @@ typedef struct risc_timer_pram {
 #define	CICR_SCC_SCC3		((uint)0x00200000)	/* SCC3 @ SCCc */
 #define	CICR_SCB_SCC2		((uint)0x00040000)	/* SCC2 @ SCCb */
 #define	CICR_SCA_SCC1		((uint)0x00000000)	/* SCC1 @ SCCa */
-#define CICR_IRL_MASK		((uint)0x0000e000)	/* Core interrrupt */
+#define CICR_IRL_MASK		((uint)0x0000e000)	/* Core interrupt */
 #define CICR_HP_MASK		((uint)0x00001f00)	/* Hi-pri int. */
 #define CICR_IEN		((uint)0x00000080)	/* Int. enable */
 #define CICR_SPS		((uint)0x00000001)	/* SCC Spread */
diff --git a/include/asm-ppc/reg_booke.h b/include/asm-ppc/reg_booke.h
index 82948ed..4cad45a 100644
--- a/include/asm-ppc/reg_booke.h
+++ b/include/asm-ppc/reg_booke.h
@@ -283,7 +283,7 @@
 #define ESR_IMCB	0x20000000	/* Instr. Machine Check - Bus error */
 #define ESR_IMCT	0x10000000	/* Instr. Machine Check - Timeout */
 #define ESR_PIL		0x08000000	/* Program Exception - Illegal */
-#define ESR_PPR		0x04000000	/* Program Exception - Priveleged */
+#define ESR_PPR		0x04000000	/* Program Exception - Privileged */
 #define ESR_PTR		0x02000000	/* Program Exception - Trap */
 #define ESR_FP		0x01000000	/* Floating Point Operation */
 #define ESR_DST		0x00800000	/* Storage Exception - Data miss */
-- 
1.5.3.7.949.g2221a6

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

* Re: [PATCH] arch/powerpc/: Spelling fixes
  2007-12-17 19:30 ` [PATCH] arch/powerpc/: Spelling fixes Joe Perches
@ 2007-12-17 19:36   ` Josh Boyer
  0 siblings, 0 replies; 7+ messages in thread
From: Josh Boyer @ 2007-12-17 19:36 UTC (permalink / raw)
  To: Joe Perches
  Cc: anton, linux-kernel, linuxppc-dev, Paul Mackerras,
	Anton Blanchard, paulus, Andrew Morton

On Mon, 17 Dec 2007 11:30:12 -0800
Joe Perches <joe@perches.com> wrote:

> 
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  arch/powerpc/boot/4xx.c                 |    2 +-
>  arch/powerpc/kernel/legacy_serial.c     |    2 +-
>  arch/powerpc/sysdev/bestcomm/bestcomm.h |    2 +-
>  arch/powerpc/sysdev/mmio_nvram.c        |    2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c
> index ebf9e21..3d0e4f9 100644
> --- a/arch/powerpc/boot/4xx.c
> +++ b/arch/powerpc/boot/4xx.c
> @@ -122,7 +122,7 @@ void ibm4xx_denali_fixup_memsize(void)
>  	else
>  		dpath = 4; /* 32 bits */
> 
> -	/* get adress pins (rows) */
> +	/* get address pins (rows) */
>  	val = mfdcr_sdram0(DDR0_42);
> 
>  	row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT);

Ack on this part.

josh

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

* Re: [PATCH] arch/ppc/: Spelling fixes
  2007-12-17 19:30 ` [PATCH] arch/ppc/: " Joe Perches
@ 2007-12-17 20:42   ` Vitaly Bordug
  2007-12-17 20:52     ` Joe Perches
  0 siblings, 1 reply; 7+ messages in thread
From: Vitaly Bordug @ 2007-12-17 20:42 UTC (permalink / raw)
  To: Joe Perches; +Cc: linuxppc-dev, Andrew Morton, Paul Mackerras, linux-kernel

On Mon, 17 Dec 2007 11:30:14 -0800
Joe Perches wrote:

> 
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  arch/ppc/syslib/ppc8xx_pic.c |    2 +-
>  arch/ppc/syslib/ppc_sys.c    |    2 +-
I'm not really sure we should still care about typos in
arch/ppc..



-- 
Sincerely, Vitaly

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

* Re: [PATCH] arch/ppc/: Spelling fixes
  2007-12-17 20:42   ` Vitaly Bordug
@ 2007-12-17 20:52     ` Joe Perches
  0 siblings, 0 replies; 7+ messages in thread
From: Joe Perches @ 2007-12-17 20:52 UTC (permalink / raw)
  To: Vitaly Bordug; +Cc: linuxppc-dev, Andrew Morton, Paul Mackerras, linux-kernel

On Mon, 2007-12-17 at 23:42 +0300, Vitaly Bordug wrote:
> I'm not really sure we should still care about typos in
> arch/ppc..

Fine by me.  I heard tell of a desire to integrate or
rework the power/ppc arches anyway.  cheers, Joe

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

end of thread, other threads:[~2007-12-17 20:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5703e57f925f31fc0eb38873bd7f10fc44f99cb4.1197918890.git.joe@perches.com>
2007-12-17 19:30 ` [PATCH] arch/powerpc/: Spelling fixes Joe Perches
2007-12-17 19:36   ` Josh Boyer
2007-12-17 19:30 ` [PATCH] include/asm-powerpc/: " Joe Perches
2007-12-17 19:30 ` [PATCH] arch/ppc/: " Joe Perches
2007-12-17 20:42   ` Vitaly Bordug
2007-12-17 20:52     ` Joe Perches
2007-12-17 19:30 ` [PATCH] include/asm-ppc/: " Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).