Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121416
b: refs/heads/master
c: 2f526e5
h: refs/heads/master
v: v3
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Dec 25, 2008
1 parent 0cdfb43 commit b62dc65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: c99fc5dadcd87e8b97613f50c48407678b731cfb
refs/heads/master: 2f526e5acbf1179d30bc9fa1d20b69ec4c0bb689
7 changes: 5 additions & 2 deletions trunk/arch/s390/kernel/cpcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
* Christian Borntraeger (cborntra@de.ibm.com),
*/

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

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
Expand Down Expand Up @@ -104,8 +107,8 @@ int cpcmd(const char *cmd, char *response, int rlen, int *response_code)
(((unsigned long)response + rlen) >> 31)) {
lowbuf = kmalloc(rlen, GFP_KERNEL | GFP_DMA);
if (!lowbuf) {
printk(KERN_WARNING
"cpcmd: could not allocate response buffer\n");
pr_warning("The cpcmd kernel function failed to "
"allocate a response buffer\n");
return -ENOMEM;
}
spin_lock_irqsave(&cpcmd_lock, flags);
Expand Down

0 comments on commit b62dc65

Please sign in to comment.