Re: Linux 2.5.38

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sun Sep 22 2002 - 08:09:44 EST


On Sat, 21 Sep 2002, Linus Torvalds wrote:

>...
> Alexander Viro <viro@math.psu.edu>:
> o gendisk for pcd, cdu31a, cm206, mcd, mcdx, sbpcd, jsflash, mtdblock_ro,
> pf, swim3, loop, aztcd, gscd, optcd, sjcd, sonycd, stram, rd, nbd, xpram,
> acorn floppy, swim_iop
>...

Below are the trivial fixes for some typos introduced by these changes:

- missing comma in cdu31a
- missing semicolon in cdu31a
- comma instead of colon in gscd
- semicolon instead of comma in mcd
- missing closing bracket in sonycd535

cu
Adrian

--- linux-2.5.38-full/drivers/cdrom/cdu31a.c.old 2002-09-22 14:31:17.000000000 +0200
+++ linux-2.5.38-full/drivers/cdrom/cdu31a.c 2002-09-22 14:50:40.000000000 +0200
@@ -3193,10 +3193,10 @@
         .major = MAJOR_NR,
         .first_minor = 0,
         .minor_shift = 0,
- .major_name = "cdu31a"
+ .major_name = "cdu31a",
         .fops = &scd_bdops,
         .flags = GENHD_FL_CD,
-}
+};

 /* The different types of disc loading mechanisms supported */
 static char *load_mech[] __initdata =
--- linux-2.5.38-full/drivers/cdrom/gscd.c.old 2002-09-22 14:53:47.000000000 +0200
+++ linux-2.5.38-full/drivers/cdrom/gscd.c 2002-09-22 14:55:48.000000000 +0200
@@ -901,7 +901,7 @@
 static struct gendisk gscd_disk = {
         .major = MAJOR_NR,
         .first_minor = 0,
- ,minor_shift = 0,
+ .minor_shift = 0,
         .fops = &gscd_fops,
         .major_name = "gscd"
 };
--- linux-2.5.38-full/drivers/cdrom/mcd.c.old 2002-09-22 14:58:25.000000000 +0200
+++ linux-2.5.38-full/drivers/cdrom/mcd.c 2002-09-22 14:59:35.000000000 +0200
@@ -227,7 +227,7 @@
         .minor_shift = 0,
         .major_name = "mcd",
         .fops = &mcd_bdops,
- .flags = GENHD_FL_CD;
+ .flags = GENHD_FL_CD,
 };

 #ifndef MODULE
--- linux-2.5.38-full/drivers/cdrom/sonycd535.c.old 2002-09-22 15:03:13.000000000 +0200
+++ linux-2.5.38-full/drivers/cdrom/sonycd535.c 2002-09-22 15:04:27.000000000 +0200
@@ -1461,7 +1461,8 @@
         .first_minor = 0,
         .minor_shift = 0,
         .fops = &cdu_fops,
- .major_name = "cdu"
+ .major_name = "cdu",
+};

 /*
  * Initialize the driver.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:35 EST