[Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo

From: Adam J. Richter (adam_at_yggdrasil.com)
Date: 09/05/04

  • Next message: Clemens Schwaighofer: "Re: external firewire dvd writer"
    Date:	Sun, 5 Sep 2004 10:25:10 -0700
    To: janitor@sternwelten.at, minyard@wf-rch.cirr.com, nacc@us.ibm.com
    
    

            linux-2.6.9-rc1-bk11 integrated the patch "cdu31a: replace
    schedule_timeout() with msleep()". That patch contained a typo,
    causing the cdu31a driver to fail to compile. Here is a fix for
    the typo.

            Of course I have tested this patch to verify that it compiles.
    I do not, however, have a Sony cdu-31a or cdu-33a drive handy to actually
    test that the driver works. I wonder if anyone out there still has a
    Sony cdu-31a or cdu-33a CD-ROM drive on a machine running Linux.

    Signed-off-by: Adam J. Richter <adam@yggdrasil.com>

                        __ ______________
    Adam J. Richter \ /
    adam@yggdrasil.com | g g d r a s i l

    --- linux-2.6.9-rc1-bk11/drivers/cdrom/cdu31a.c 2004-09-05 09:11:23.000000000 -0700
    +++ linux/drivers/cdrom/cdu31a.c 2004-09-05 10:09:42.000000000 -0700
    @@ -959,7 +959,7 @@
             if (((result_buffer[0] & 0xf0) == 0x20)
                 && (num_retries < MAX_CDU31A_RETRIES)) {
                     num_retries++;
    - msleep(100):
    + msleep(100);
                     goto retry_cd_operation;
             }
     
    -
    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/


  • Next message: Clemens Schwaighofer: "Re: external firewire dvd writer"

    Relevant Pages

    • Re: [Patch 2.6.9-rc1-bk11] cdu31a: fix msleep patch typo
      ... > causing the cdu31a driver to fail to compile. ... Here is a fix for ... > the typo. ... 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/ ...
      (Linux-Kernel)
    • [PATCH] CONFIG_* In Comments Considered Harmful
      ... being unnecessarily recompiled (a little fetish of mine, mostly harmless). ... I assumed a typo somewhere. ... War is real, war is primarily not about defeat or ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [DVB patch 22/48] nxt2002: fix max frequency
      ... >Patch by Taylor Jacob and Tom Dombrosky: There was a typo in the ... > BBTI/B2C2 specs that stated the upper frequency of the ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] CONFIG_* In Comments Considered Harmful
      ... > being unnecessarily recompiled (a little fetish of mine, mostly harmless). ... Rather than fix the typo, I deleted the comment; ... > retrieving revision 1.5 ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PROBLEM: ACPI freezes 2.6.1 on boot
      ... > (yes, the typo is in the kernel, it seems) ... was one of the first patches including the new ACPI, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)