diff options
Diffstat (limited to 'drivers/s390/char/vmur.c')
-rw-r--r-- | drivers/s390/char/vmur.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/s390/char/vmur.c b/drivers/s390/char/vmur.c index 0a9f1cccbe58..b0ac44b27127 100644 --- a/drivers/s390/char/vmur.c +++ b/drivers/s390/char/vmur.c | |||
@@ -345,7 +345,7 @@ static int get_urd_class(struct urdev *urd) | |||
345 | cc = diag210(&ur_diag210); | 345 | cc = diag210(&ur_diag210); |
346 | switch (cc) { | 346 | switch (cc) { |
347 | case 0: | 347 | case 0: |
348 | return -ENOTSUPP; | 348 | return -EOPNOTSUPP; |
349 | case 2: | 349 | case 2: |
350 | return ur_diag210.vrdcvcla; /* virtual device class */ | 350 | return ur_diag210.vrdcvcla; /* virtual device class */ |
351 | case 3: | 351 | case 3: |
@@ -621,7 +621,7 @@ static int verify_device(struct urdev *urd) | |||
621 | case DEV_CLASS_UR_I: | 621 | case DEV_CLASS_UR_I: |
622 | return verify_uri_device(urd); | 622 | return verify_uri_device(urd); |
623 | default: | 623 | default: |
624 | return -ENOTSUPP; | 624 | return -EOPNOTSUPP; |
625 | } | 625 | } |
626 | } | 626 | } |
627 | 627 | ||
@@ -654,7 +654,7 @@ static int get_file_reclen(struct urdev *urd) | |||
654 | case DEV_CLASS_UR_I: | 654 | case DEV_CLASS_UR_I: |
655 | return get_uri_file_reclen(urd); | 655 | return get_uri_file_reclen(urd); |
656 | default: | 656 | default: |
657 | return -ENOTSUPP; | 657 | return -EOPNOTSUPP; |
658 | } | 658 | } |
659 | } | 659 | } |
660 | 660 | ||
@@ -827,7 +827,7 @@ static int ur_probe(struct ccw_device *cdev) | |||
827 | goto fail_remove_attr; | 827 | goto fail_remove_attr; |
828 | } | 828 | } |
829 | if ((urd->class != DEV_CLASS_UR_I) && (urd->class != DEV_CLASS_UR_O)) { | 829 | if ((urd->class != DEV_CLASS_UR_I) && (urd->class != DEV_CLASS_UR_O)) { |
830 | rc = -ENOTSUPP; | 830 | rc = -EOPNOTSUPP; |
831 | goto fail_remove_attr; | 831 | goto fail_remove_attr; |
832 | } | 832 | } |
833 | spin_lock_irq(get_ccwdev_lock(cdev)); | 833 | spin_lock_irq(get_ccwdev_lock(cdev)); |
@@ -892,7 +892,7 @@ static int ur_set_online(struct ccw_device *cdev) | |||
892 | } else if (urd->cdev->id.cu_type == PRINTER_DEVTYPE) { | 892 | } else if (urd->cdev->id.cu_type == PRINTER_DEVTYPE) { |
893 | sprintf(node_id, "vmprt-%s", cdev->dev.bus_id); | 893 | sprintf(node_id, "vmprt-%s", cdev->dev.bus_id); |
894 | } else { | 894 | } else { |
895 | rc = -ENOTSUPP; | 895 | rc = -EOPNOTSUPP; |
896 | goto fail_free_cdev; | 896 | goto fail_free_cdev; |
897 | } | 897 | } |
898 | 898 | ||