diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2006-02-01 12:06:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 17:53:24 +0100 |
commit | 600b5d163d7434332539cac7be00f649cbbfedcc (patch) | |
tree | 3a999e6576a8593bf8b49d1e768f7e990eb78a3a /drivers/s390/block/dasd_ioctl.c | |
parent | [PATCH] s390: hangcheck timer support (diff) | |
download | linux-600b5d163d7434332539cac7be00f649cbbfedcc.tar.xz linux-600b5d163d7434332539cac7be00f649cbbfedcc.zip |
[PATCH] s390: ccw_device_probe_console return value
The return code of ccw_device_probe_console() is not properly handled. It
should only return a valid ccw device pointer or a error value converted by
ERR_PTR. Fix the console driver code to check with IS_ERR instead against
NULL.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/block/dasd_ioctl.c')
0 files changed, 0 insertions, 0 deletions