Commit 8634c9f3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64 kernel hackers can't spell

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: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarDave Hansen <haveblue@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent 30eced59
...@@ -541,7 +541,7 @@ char * ppc_rtas_process_error(int error) ...@@ -541,7 +541,7 @@ char * ppc_rtas_process_error(int error)
case SENSOR_BUSY: case SENSOR_BUSY:
return "(busy)"; return "(busy)";
case SENSOR_NOT_EXIST: case SENSOR_NOT_EXIST:
return "(non existant)"; return "(non existent)";
case SENSOR_DR_ENTITY: case SENSOR_DR_ENTITY:
return "(dr entity removed)"; return "(dr entity removed)";
default: default:
...@@ -698,7 +698,7 @@ int ppc_rtas_process_sensor(struct individual_sensor s, int state, ...@@ -698,7 +698,7 @@ int ppc_rtas_process_sensor(struct individual_sensor s, int state,
} }
break; break;
default: 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); s.token);
unknown = 1; unknown = 1;
have_strings = 1; have_strings = 1;
......
...@@ -407,7 +407,7 @@ int iounmap_explicit(void *addr, unsigned long size) ...@@ -407,7 +407,7 @@ int iounmap_explicit(void *addr, unsigned long size)
area = im_get_area((unsigned long) addr, size, area = im_get_area((unsigned long) addr, size,
IM_REGION_EXISTS | IM_REGION_SUBSET); IM_REGION_EXISTS | IM_REGION_SUBSET);
if (area == NULL) { 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); __FUNCTION__, (unsigned long) addr);
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment