[S390] dasd: fix possible NULL pointer errors
authorStefan Haberland <stefan.haberland@de.ibm.com>
Wed, 27 Jan 2010 09:12:35 +0000 (10:12 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 27 Jan 2010 09:12:48 +0000 (10:12 +0100)
commit294001a80c9810e2fe27aaaad7df8be12a103065
tree1615733697057a38054f68bf46109fffeeb5e549
parentb04da8bfdfbbd79544cab2fadfdc12e87eb01600
[S390] dasd: fix possible NULL pointer errors

Fix possible NULL pointer in DASD messages and correct discipline
checking.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_ioctl.c
drivers/s390/block/dasd_proc.c