Skip to contentSkip to conversation

s390 (11/13): trivial bug fixes.

PATCH New Martin Schwidefsky 1 participant 1 message Feb 24, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390 (11/13): trivial bug fixes.

trivial s390 fixes/typos.

arch/s390/kernel/setup.c +1 -1
diff -urN linux-2.5.62/arch/s390/kernel/setup.c linux-2.5.62-s390/arch/s390/kernel/setup.c
@@ -551,7 +551,7 @@
 
 static void *c_start(struct seq_file *m, loff_t *pos)
 {
-	return *pos <= NR_CPUS ? (void *)((unsigned long) *pos + 1) : NULL;
+	return *pos < NR_CPUS ? (void *)((unsigned long) *pos + 1) : NULL;
 }
 static void *c_next(struct seq_file *m, void *v, loff_t *pos)
 {
arch/s390x/kernel/setup.c +1 -1
diff -urN linux-2.5.62/arch/s390x/kernel/setup.c linux-2.5.62-s390/arch/s390x/kernel/setup.c
@@ -545,7 +545,7 @@
 
 static void *c_start(struct seq_file *m, loff_t *pos)
 {
-	return *pos <= NR_CPUS ? (void *)((unsigned long) *pos + 1) : NULL;
+	return *pos < NR_CPUS ? (void *)((unsigned long) *pos + 1) : NULL;
 }
 static void *c_next(struct seq_file *m, void *v, loff_t *pos)
 {
drivers/s390/char/tape.h +2 -2
diff -urN linux-2.5.62/drivers/s390/char/tape.h linux-2.5.62-s390/drivers/s390/char/tape.h
@@ -121,7 +121,7 @@
 /* Function type for magnetic tape commands */
 typedef int (*tape_mtop_fn)(struct tape_device *, int);
 
-/* Size of the arry containing the mtops for a discipline */
+/* Size of the array containing the mtops for a discipline */
 #define TAPE_NR_MTOPS (MTMKPART+1)
 
 /* Tape Discipline */
@@ -151,7 +151,7 @@
  * The discipline irq function either returns an error code (<0) which
  * means that the request has failed with an error or one of the following:
  */
-#define TAPE_IO_SUCCESS 0	/* request sucessful */
+#define TAPE_IO_SUCCESS 0	/* request successful */
 #define TAPE_IO_PENDING 1	/* request still running */
 #define TAPE_IO_RETRY	2	/* retry to current request */
 #define TAPE_IO_STOP	3	/* stop the running request */
drivers/s390/char/tape_34xx.c +25 -25

184 lines not on this page · raw message

drivers/s390/char/tape_core.c +2 -2
diff -urN linux-2.5.62/drivers/s390/char/tape_core.c linux-2.5.62-s390/drivers/s390/char/tape_core.c
@@ -904,7 +904,7 @@
 {
 	tape_dbf_area = debug_register ( "tape", 1, 2, 3*sizeof(long));
 	debug_register_view(tape_dbf_area, &debug_sprintf_view);
-	DBF_EVENT(3, "tape init: ($Revision: 1.21 $)\n");
+	DBF_EVENT(3, "tape init: ($Revision: 1.23 $)\n");
 	tape_proc_init();
 	tapechar_init ();
 	tapeblock_init ();
@@ -929,7 +929,7 @@
 MODULE_AUTHOR("(C) 2001 IBM Deutschland Entwicklung GmbH by Carsten Otte and "
 	      "Michael Holzheu ([email protected],[email protected])");
 MODULE_DESCRIPTION("Linux on zSeries channel attached "
-		   "tape device driver ($Revision: 1.21 $)");
+		   "tape device driver ($Revision: 1.23 $)");
 
 module_init(tape_init);
 module_exit(tape_exit);
drivers/s390/net/ctcmain.c +4 -4
diff -urN linux-2.5.62/drivers/s390/net/ctcmain.c linux-2.5.62-s390/drivers/s390/net/ctcmain.c
@@ -1,5 +1,5 @@
 /*
- * $Id: ctcmain.c,v 1.35 2003/01/17 13:46:13 cohuck Exp $
+ * $Id: ctcmain.c,v 1.36 2003/02/18 09:15:14 mschwide Exp $
  *
  * CTC / ESCON network driver
  *
@@ -36,7 +36,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * RELEASE-TAG: CTC/ESCON network driver $Revision: 1.35 $
+ * RELEASE-TAG: CTC/ESCON network driver $Revision: 1.36 $
  *
  */
 
@@ -273,7 +273,7 @@
 print_banner(void)
 {
 	static int printed = 0;
-	char vbuf[] = "$Revision: 1.35 $";
+	char vbuf[] = "$Revision: 1.36 $";
 	char *version = vbuf;
 
 	if (printed)
@@ -1198,7 +1198,7 @@
 		fsm_deltimer(&ch->timer);
 		ccw_check_return_code(ch, rc);
 	}
-	pr_debug(KERN_DEBUG "ctc: %s(): leaving\n", __FUNCTION__);
+	pr_debug("ctc: %s(): leaving\n", __FUNCTION__);
 }
 
 /**
drivers/s390/net/lcs.c +2 -2
diff -urN linux-2.5.62/drivers/s390/net/lcs.c linux-2.5.62-s390/drivers/s390/net/lcs.c
@@ -11,7 +11,7 @@
  *			  Frank Pavlic ([email protected]) and
  *		 	  Martin Schwidefsky <[email protected]>
  *
- *    $Revision: 1.42 $	 $Date: 2002/12/09 13:55:28 $
+ *    $Revision: 1.44 $	 $Date: 2003/02/18 19:49:02 $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@
 /**
  * initialization string for output
  */
-#define VERSION_LCS_C  "$Revision: 1.42 $"
+#define VERSION_LCS_C  "$Revision: 1.44 $"
 
 static char version[] __initdata = "LCS driver ("VERSION_LCS_C "/" VERSION_LCS_H ")";