Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309389
b: refs/heads/master
c: 3dfd621
h: refs/heads/master
i:
  309387: 4f59f73
v: v3
  • Loading branch information
Alan Cox authored and Wim Van Sebroeck committed May 30, 2012
1 parent 0c964eb commit a17243e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: d6b469d915ae348b3bb8b25034063d6870ff4a00
refs/heads/master: 3dfd6218da4cb9d0eae596581a08de9959aa2b1f
5 changes: 2 additions & 3 deletions trunk/drivers/watchdog/watchdog_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ static int watchdog_stop(struct watchdog_device *wddev)
int err = -EBUSY;

if (test_bit(WDOG_NO_WAY_OUT, &wddev->status)) {
pr_info("%s: nowayout prevents watchdog to be stopped!\n",
wddev->info->identity);
dev_info(wddev->dev, "nowayout prevents watchdog being stopped!\n");
return err;
}

Expand Down Expand Up @@ -324,7 +323,7 @@ static int watchdog_release(struct inode *inode, struct file *file)

/* If the watchdog was not stopped, send a keepalive ping */
if (err < 0) {
pr_crit("%s: watchdog did not stop!\n", wdd->info->identity);
dev_crit(wdd->dev, "watchdog did not stop!\n");
watchdog_ping(wdd);
}

Expand Down

0 comments on commit a17243e

Please sign in to comment.