android_kernel_xiaomi_sm8350/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 [S390] convert cio printks to pr_xxx macros. 2008-12-25 13:39:20 +01:00
blacklist.h
ccwgroup.c [S390] cio: fix ccwgroup online vs. ungroup race condition 2008-12-25 13:39:06 +01:00
chp.c
chp.h
chsc_sch.c [S390] cio: introduce cio_update_schib 2008-12-25 13:39:10 +01:00
chsc_sch.h
chsc.c [S390] convert cio printks to pr_xxx macros. 2008-12-25 13:39:20 +01:00
chsc.h
cio_debug.h
cio.c fix similar typos to successfull 2009-01-08 08:31:15 -08:00
cio.h [S390] cio: introduce cio_commit_config 2008-12-25 13:39:10 +01:00
cmf.c [S390] convert cio printks to pr_xxx macros. 2008-12-25 13:39:20 +01:00
css.c [S390] convert cio printks to pr_xxx macros. 2008-12-25 13:39:20 +01:00
css.h
device_fsm.c [S390] cio: commit all pmcw changes. 2008-12-25 13:39:10 +01:00
device_id.c
device_ops.c
device_pgid.c [S390] cio: introduce cio_update_schib 2008-12-25 13:39:10 +01:00
device_status.c [S390] cio: introduce cio_update_schib 2008-12-25 13:39:10 +01:00
device.c [S390] cio: use pim to check for multipath. 2008-12-25 13:39:11 +01:00
device.h [S390] cio: introduce cio_commit_config 2008-12-25 13:39:10 +01:00
fcx.c
idset.c
idset.h
io_sch.h
ioasm.h
isc.c
itcw.c
Makefile
qdio_debug.c [S390] qdio: fix broken pointer in case of CONFIG_DEBUG_FS is disabled 2009-01-09 12:15:07 +01:00
qdio_debug.h [S390] qdio: rework debug feature logging 2008-12-25 13:38:59 +01:00
qdio_main.c fix similar typos to successfull 2009-01-08 08:31:15 -08:00
qdio_perf.c [S390] qdio: improve inbound buffer acknowledgement 2008-12-25 13:38:59 +01:00
qdio_perf.h [S390] qdio: improve inbound buffer acknowledgement 2008-12-25 13:38:59 +01:00
qdio_setup.c [S390] qdio: fix error reporting for hipersockets 2008-12-25 13:39:00 +01:00
qdio_thinint.c [S390] qdio: improve inbound buffer acknowledgement 2008-12-25 13:38:59 +01:00
qdio.h [S390] qdio: fix error reporting for hipersockets 2008-12-25 13:39:00 +01:00
scsw.c