]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/s390/char/tape_3590.c
[S390] tape_3590.c: introduce missing kfree
[mv-sheeva.git] / drivers / s390 / char / tape_3590.c
index da25f8e24152b7da94a52c79eff4903fabe17eae..42ce7915fc5d7cc1bce71aaa60c867f12cb16894 100644 (file)
@@ -1495,7 +1495,7 @@ tape_3590_unit_check(struct tape_device *device, struct tape_request *request,
                           device->cdev->dev.bus_id);
                return tape_3590_erp_basic(device, request, irb, -EPERM);
        case 0x8013:
-               PRINT_WARN("(%s): Another host has priviliged access to the "
+               PRINT_WARN("(%s): Another host has privileged access to the "
                           "tape device\n", device->cdev->dev.bus_id);
                PRINT_WARN("(%s): To solve the problem unload the current "
                           "cartridge!\n", device->cdev->dev.bus_id);
@@ -1598,7 +1598,7 @@ tape_3590_setup_device(struct tape_device *device)
        rc = tape_3590_read_dev_chars(device, rdc_data);
        if (rc) {
                DBF_LH(3, "Read device characteristics failed!\n");
-               goto fail_kmalloc;
+               goto fail_rdc_data;
        }
        rc = tape_std_assign(device);
        if (rc)