Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121426
b: refs/heads/master
c: 1519c0c
h: refs/heads/master
v: v3
  • Loading branch information
Melissa Howland authored and Martin Schwidefsky committed Dec 25, 2008
1 parent 7f50fcc commit 44befb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: c5612c1956597687e4bdf59f2649d20d60f5a2b6
refs/heads/master: 1519c0c6ebd2bfd29bae762a1741963a1d06bca2
5 changes: 4 additions & 1 deletion trunk/drivers/s390/char/monwriter.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
* Author(s): Melissa Howland <Melissa.Howland@us.ibm.com>
*/

#define KMSG_COMPONENT "monwriter"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
Expand Down Expand Up @@ -64,9 +67,9 @@ static int monwrite_diag(struct monwrite_hdr *myhdr, char *buffer, int fcn)
rc = appldata_asm(&id, fcn, (void *) buffer, myhdr->datalen);
if (rc <= 0)
return rc;
pr_err("Writing monitor data failed with rc=%i\n", rc);
if (rc == 5)
return -EPERM;
printk("DIAG X'DC' error with return code: %i\n", rc);
return -EINVAL;
}

Expand Down

0 comments on commit 44befb2

Please sign in to comment.