]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[S390] cio: fix sanity checks in device_ops.
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 12 Jun 2009 08:26:27 +0000 (10:26 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 Jun 2009 08:27:31 +0000 (10:27 +0200)
commite45efa99b0b0035a2afc192c242e37eec5477497
treeb377f49c9af4578b97c1b401d76ab779aec9f15a
parentbcf5cef7db869dd3b0ec55ad99641e66b2f5cf02
[S390] cio: fix sanity checks in device_ops.

Some sanity checks in device_ops.c 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/device_ops.c