Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/vmur: Link parent CCW device during UR device creation

When creating the virtual unit record (UR) device, specify the parent
CCW device.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Hendrik Brueckner and committed by
Martin Schwidefsky
964c150e df32e43a

+2 -2
+2 -2
drivers/s390/char/vmur.c
··· 922 922 goto fail_free_cdev; 923 923 } 924 924 925 - urd->device = device_create(vmur_class, NULL, urd->char_device->dev, 926 - NULL, "%s", node_id); 925 + urd->device = device_create(vmur_class, &cdev->dev, 926 + urd->char_device->dev, NULL, "%s", node_id); 927 927 if (IS_ERR(urd->device)) { 928 928 rc = PTR_ERR(urd->device); 929 929 TRACE("ur_set_online: device_create rc=%d\n", rc);