diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-07 14:14:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-07 14:14:49 -0400 |
commit | 42933bac11e811f02200c944d8562a15f8ec4ff0 (patch) | |
tree | fcdd9afe56eb0e746565ddd1f92f22d36678b843 /drivers/parisc/pdc_stable.c | |
parent | 2b9accbee563f535046ff2cd382d0acaa92e130c (diff) | |
parent | 25985edcedea6396277003854657b5f3cb31a628 (diff) |
Merge branch 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6
* 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6:
Fix common misspellings
Diffstat (limited to 'drivers/parisc/pdc_stable.c')
-rw-r--r-- | drivers/parisc/pdc_stable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c index 1062b8ffe244..246a92f677e4 100644 --- a/drivers/parisc/pdc_stable.c +++ b/drivers/parisc/pdc_stable.c | |||
@@ -141,7 +141,7 @@ struct pdcspath_attribute paths_attr_##_name = { \ | |||
141 | * @entry: A pointer to an allocated pdcspath_entry. | 141 | * @entry: A pointer to an allocated pdcspath_entry. |
142 | * | 142 | * |
143 | * The general idea is that you don't read from the Stable Storage every time | 143 | * The general idea is that you don't read from the Stable Storage every time |
144 | * you access the files provided by the facilites. We store a copy of the | 144 | * you access the files provided by the facilities. We store a copy of the |
145 | * content of the stable storage WRT various paths in these structs. We read | 145 | * content of the stable storage WRT various paths in these structs. We read |
146 | * these structs when reading the files, and we will write to these structs when | 146 | * these structs when reading the files, and we will write to these structs when |
147 | * writing to the files, and only then write them back to the Stable Storage. | 147 | * writing to the files, and only then write them back to the Stable Storage. |
@@ -213,7 +213,7 @@ pdcspath_store(struct pdcspath_entry *entry) | |||
213 | 213 | ||
214 | /* addr, devpath and count must be word aligned */ | 214 | /* addr, devpath and count must be word aligned */ |
215 | if (pdc_stable_write(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) { | 215 | if (pdc_stable_write(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) { |
216 | printk(KERN_ERR "%s: an error occured when writing to PDC.\n" | 216 | printk(KERN_ERR "%s: an error occurred when writing to PDC.\n" |
217 | "It is likely that the Stable Storage data has been corrupted.\n" | 217 | "It is likely that the Stable Storage data has been corrupted.\n" |
218 | "Please check it carefully upon next reboot.\n", __func__); | 218 | "Please check it carefully upon next reboot.\n", __func__); |
219 | WARN_ON(1); | 219 | WARN_ON(1); |