]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
vfio: ccw: Register mediated device once all structures are initialized
authorPierre Morel <pmorel@linux.ibm.com>
Thu, 25 Oct 2018 17:15:20 +0000 (19:15 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 13 Nov 2018 10:45:17 +0000 (11:45 +0100)
commit55e93ecdc1ef9256279e0a0b08edf72cc47fc2f6
treef645f3bbe8bfc437e0786b5afcea1053305dacc9
parent52df7837560e51a47903b49243291fb8039653d2
vfio: ccw: Register mediated device once all structures are initialized

Let's register the mediated device when all the data structures
which could be used are initialized.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <1540487720-11634-3-git-send-email-pmorel@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/cio/vfio_ccw_drv.c