All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 4/16] s390: compile fix for dcssblk.
@ 2005-06-21 16:23 Martin Schwidefsky
  0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2005-06-21 16:23 UTC (permalink / raw)
  To: akpm, cohuck, linux-kernel

[patch 4/16] s390: compile fix for dcssblk.

From: Cornelia Huck <cohuck@de.ibm.com>

Fix compile breakage in the dcss block driver introduced by the attribute
changes.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

diffstat:
 drivers/s390/block/dcssblk.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -urpN linux-2.6/drivers/s390/block/dcssblk.c linux-2.6-patched/drivers/s390/block/dcssblk.c
--- linux-2.6/drivers/s390/block/dcssblk.c	2005-06-21 17:36:39.000000000 +0200
+++ linux-2.6-patched/drivers/s390/block/dcssblk.c	2005-06-21 17:36:47.000000000 +0200
@@ -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] != ',') &&

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-21 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-21 16:23 [patch 4/16] s390: compile fix for dcssblk Martin Schwidefsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.