[Bugme-janitors] [Bug 22972] New: The patch adds code that will not compile

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sun Nov 14 23:01:56 PST 2010


https://bugzilla.kernel.org/show_bug.cgi?id=22972

           Summary: The patch adds code that will not compile
           Product: Other
           Version: 2.5
    Kernel Version: patch-2.6.33.7-rt29, usbdux driver
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: other_other at kernel-bugs.osdl.org
        ReportedBy: gregreenwood at gmail.com
        Regression: No


The patch noted replaces a line of code in
drivers/staging/comedi/drivers/usbdux.c that will fail to compile due to
syntax.
The patch attempts:
-    init_MUTEX(&(usbduxsub[index].sem));
+    sema_init(&(usbduxsub[index].sem)), 1;

and the line should read:
-    init_MUTEX(&(usbduxsub[index].sem));
+    sema_init(&(usbduxsub[index].sem), 1);

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the Bugme-janitors mailing list