mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
@@ -141,7 +141,7 @@ struct pdcspath_attribute paths_attr_##_name = { \
|
||||
* @entry: A pointer to an allocated pdcspath_entry.
|
||||
*
|
||||
* The general idea is that you don't read from the Stable Storage every time
|
||||
* you access the files provided by the facilites. We store a copy of the
|
||||
* you access the files provided by the facilities. We store a copy of the
|
||||
* content of the stable storage WRT various paths in these structs. We read
|
||||
* these structs when reading the files, and we will write to these structs when
|
||||
* writing to the files, and only then write them back to the Stable Storage.
|
||||
@@ -213,7 +213,7 @@ pdcspath_store(struct pdcspath_entry *entry)
|
||||
|
||||
/* addr, devpath and count must be word aligned */
|
||||
if (pdc_stable_write(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) {
|
||||
printk(KERN_ERR "%s: an error occured when writing to PDC.\n"
|
||||
printk(KERN_ERR "%s: an error occurred when writing to PDC.\n"
|
||||
"It is likely that the Stable Storage data has been corrupted.\n"
|
||||
"Please check it carefully upon next reboot.\n", __func__);
|
||||
WARN_ON(1);
|
||||
|
||||
Reference in New Issue
Block a user