Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356305
b: refs/heads/master
c: 93c3e91
h: refs/heads/master
i:
  356303: a83c898
v: v3
  • Loading branch information
Julia Lawall authored and Helge Deller committed Feb 20, 2013
1 parent 080cabf commit 0ef7227
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3fad9b8d597f3a901fde947fc531886f685652c7
refs/heads/master: 93c3e913e104c9277e32a0d7e03f268d146c57ee
6 changes: 2 additions & 4 deletions trunk/drivers/parisc/pdc_stable.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,10 @@ pdcspath_store(struct pdcspath_entry *entry)
entry, devpath, entry->addr);

/* 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 occurred when writing to PDC.\n"
if (pdc_stable_write(entry->addr, devpath, sizeof(*devpath)) != PDC_OK)
WARN(1, 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);
}

/* kobject is already registered */
entry->ready = 2;
Expand Down

0 comments on commit 0ef7227

Please sign in to comment.