summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2014-06-11 13:06:57 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-06-16 10:31:03 +0200
commit2c3e7e15c7e420e35132aa3c0a614524cb2ab9e2 (patch)
treedda857017edc03894035cb190b89b84538851dc8 /arch/s390/include
parent8122574c216608ae1d5388303336c4d792bc3841 (diff)
downloadop-kernel-dev-2c3e7e15c7e420e35132aa3c0a614524cb2ab9e2.zip
op-kernel-dev-2c3e7e15c7e420e35132aa3c0a614524cb2ab9e2.tar.gz
s390/cio: set device name as early as possible
Currently we set the device name at the time we call device_add after we receive the interrupt for the first I/O. When something is not working as expected during that first I/O (e.g. we don't receive an interrupt) we print a message including the device name which has not yet been initialized. Set the device name after calling device_initialize (prior to starting the first I/O) so that we have the name present if some unexpected error occurs during that first I/O. Reported-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reported-by: Jason J. Herne <jjherne@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud