[S390] cio: fix sanity checks in ccwgroup driver.
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 26 Mar 2009 14:24:14 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:15 +0000 (15:24 +0100)
commit50f1548399b7bd00ceb38c84a84463a89c82afe8
treec1d334bb49b1fc9cbeef9761dea1eb8ec979e4f8
parent40c9f9992bc1caa1bb890bd8163361dbf2eefa86
[S390] cio: fix sanity checks in ccwgroup driver.

Some sanity checks in the ccw group driver test the output of
container_of macros to be !NULL. Test the input parameters instead.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/ccwgroup.c