Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19441
b: refs/heads/master
c: 600b5d1
h: refs/heads/master
i:
  19439: e57bd87
v: v3
  • Loading branch information
Peter Oberparleiter authored and Linus Torvalds committed Feb 1, 2006
1 parent d65947c commit 1c49d81
Show file tree
Hide file tree
Showing 4 changed files with 6 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: 3633b0475eb269dcb85923b23b321505f06b9488
refs/heads/master: 600b5d163d7434332539cac7be00f649cbbfedcc
3 changes: 2 additions & 1 deletion trunk/drivers/s390/char/con3215.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <linux/init.h>
#include <linux/console.h>
#include <linux/interrupt.h>
#include <linux/err.h>

#include <linux/slab.h>
#include <linux/bootmem.h>
Expand Down Expand Up @@ -864,7 +865,7 @@ con3215_init(void)
}

cdev = ccw_device_probe_console();
if (!cdev)
if (IS_ERR(cdev))
return -ENODEV;

raw3215[0] = raw = (struct raw3215_info *)
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/s390/char/con3270.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/types.h>
#include <linux/err.h>

#include <asm/ccwdev.h>
#include <asm/cio.h>
Expand Down Expand Up @@ -597,7 +598,7 @@ con3270_init(void)
}

cdev = ccw_device_probe_console();
if (!cdev)
if (IS_ERR(cdev))
return -ENODEV;
rp = raw3270_setup_console(cdev);
if (IS_ERR(rp))
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ ccw_device_probe_console(void)
int ret;

if (xchg(&console_cdev_in_use, 1) != 0)
return NULL;
return ERR_PTR(-EBUSY);
sch = cio_probe_console();
if (IS_ERR(sch)) {
console_cdev_in_use = 0;
Expand Down

0 comments on commit 1c49d81

Please sign in to comment.