]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc64 kernel hackers can't spell
authorAndrew Morton <akpm@osdl.org>
Thu, 27 May 2004 00:34:58 +0000 (17:34 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 27 May 2004 00:34:58 +0000 (17:34 -0700)
From: Anton Blanchard <anton@samba.org>

From: Dave Hansen

This patch is obviously of the utmost importance.  It probably doesn't matter
as much for kernel error messages, but one of these mistakes is in a
user-readable /proc file.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/ppc64/kernel/rtas-proc.c
arch/ppc64/mm/init.c

index f555d42bd3d175ebd8fa413c84313c1eed372b4b..338f6608444a7e9c9895b617fc856f3fffa3f9c9 100644 (file)
@@ -541,7 +541,7 @@ char * ppc_rtas_process_error(int error)
                case SENSOR_BUSY:
                        return "(busy)";
                case SENSOR_NOT_EXIST:
-                       return "(non existant)";
+                       return "(non existent)";
                case SENSOR_DR_ENTITY:
                        return "(dr entity removed)";
                default:
@@ -698,7 +698,7 @@ int ppc_rtas_process_sensor(struct individual_sensor s, int state,
                        }
                        break;
                default:
-                       n += sprintf(buf+n,  "Unkown sensor (type %d), ignoring it\n",
+                       n += sprintf(buf+n,  "Unknown sensor (type %d), ignoring it\n",
                                        s.token);
                        unknown = 1;
                        have_strings = 1;
index c2b36b7cba924d35320e27dd8744f5717ae67ae1..84ceb2db2ab4418e68928eeeb764e996433b546a 100644 (file)
@@ -407,7 +407,7 @@ int iounmap_explicit(void *addr, unsigned long size)
        area = im_get_area((unsigned long) addr, size, 
                            IM_REGION_EXISTS | IM_REGION_SUBSET);
        if (area == NULL) {
-               printk(KERN_ERR "%s() cannot unmap nonexistant range 0x%lx\n",
+               printk(KERN_ERR "%s() cannot unmap nonexistent range 0x%lx\n",
                                __FUNCTION__, (unsigned long) addr);
                return 1;
        }