diff options
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dcssblk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c index 6bc27d52326f..4fde41188996 100644 --- a/drivers/s390/block/dcssblk.c +++ b/drivers/s390/block/dcssblk.c | |||
@@ -718,7 +718,7 @@ dcssblk_check_params(void) | |||
718 | buf[j-i] = dcssblk_segments[j]; | 718 | buf[j-i] = dcssblk_segments[j]; |
719 | } | 719 | } |
720 | buf[j-i] = '\0'; | 720 | buf[j-i] = '\0'; |
721 | rc = dcssblk_add_store(dcssblk_root_dev, buf, j-i); | 721 | rc = dcssblk_add_store(dcssblk_root_dev, NULL, buf, j-i); |
722 | if ((rc >= 0) && (dcssblk_segments[j] == '(')) { | 722 | if ((rc >= 0) && (dcssblk_segments[j] == '(')) { |
723 | for (k = 0; buf[k] != '\0'; k++) | 723 | for (k = 0; buf[k] != '\0'; k++) |
724 | buf[k] = toupper(buf[k]); | 724 | buf[k] = toupper(buf[k]); |
@@ -728,7 +728,7 @@ dcssblk_check_params(void) | |||
728 | up_read(&dcssblk_devices_sem); | 728 | up_read(&dcssblk_devices_sem); |
729 | if (dev_info) | 729 | if (dev_info) |
730 | dcssblk_shared_store(&dev_info->dev, | 730 | dcssblk_shared_store(&dev_info->dev, |
731 | "0\n", 2); | 731 | NULL, "0\n", 2); |
732 | } | 732 | } |
733 | } | 733 | } |
734 | while ((dcssblk_segments[j] != ',') && | 734 | while ((dcssblk_segments[j] != ',') && |