s390: compile fix for dcssblk.
PATCH 4/16 s390: compile fix for dcssblk.
[patch 4/16] s390: compile fix for dcssblk.
From: Cornelia Huck <[email protected]>
Fix compile breakage in the dcss block driver introduced by the attribute changes.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
drivers/s390/block/dcssblk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/s390/block/dcssblk.c +2 -2
@@ -682,7 +682,7 @@ dcssblk_check_params(void) buf[j-i] = dcssblk_segments[j]; } buf[j-i] ='\0' ; - rc =dcssblk_add_store (dcssblk_root_dev, buf, j-i); + rc =dcssblk_add_store (dcssblk_root_dev,NULL , buf, j-i);if ((rc >=0 ) && (dcssblk_segments[j] =='(' )) {for (k =0 ; buf[k] !='\0' ; k++) buf[k] =toupper (buf[k]);
@@ -692,7 +692,7 @@ dcssblk_check_params(void)up_read (&dcssblk_devices_sem);if (dev_info)dcssblk_shared_store (&dev_info->dev, -"0\n" ,2 ); +NULL ,"0\n" ,2 ); } } while ((dcssblk_segments[j] != ',') &&