kernel_optimize_test/drivers/s390/cio
Jan Glauber 19cdd08ba1 [S390] qdio: fix broken pointer in case of CONFIG_DEBUG_FS is disabled
If CONFIG_DEBUG_FS is disabled debugfs_create_file returns -ENODEV instead
of zero. Since the return value is stored and used at shutdown to remove
existing entries an OOPS may be triggered.

Add a check of the debugfs_create_file return value and in case of an error
set the entry to NULL so it will be ignored at shutdown.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-01-09 12:15:07 +01:00
..
airq.c
blacklist.c
blacklist.h
ccwgroup.c
chp.c
chp.h
chsc_sch.c
chsc_sch.h
chsc.c
chsc.h
cio_debug.h
cio.c
cio.h
cmf.c
css.c
css.h
device_fsm.c
device_id.c
device_ops.c
device_pgid.c
device_status.c
device.c
device.h
fcx.c
idset.c
idset.h
io_sch.h
ioasm.h
isc.c
itcw.c
Makefile
qdio_debug.c
qdio_debug.h
qdio_main.c
qdio_perf.c
qdio_perf.h
qdio_setup.c
qdio_thinint.c
qdio.h
scsw.c