lkml.org 
[lkml]   [2007]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] USB Elan FTDI: check for driver registration status
    On Wed, 28 Mar 2007 20:00:32 +0400, Cyrill Gorcunov <gorcunov@gmail.com> wrote:

    > result = usb_register(&ftdi_elan_driver);
    > - if (result)
    > + if (result) {
    > + destroy_workqueue(status_queue);
    > + destroy_workqueue(command_queue);
    > + destroy_workqueue(respond_queue);
    > printk(KERN_ERR "usb_register failed. Error number %d\n",
    > result);

    I would just change the printk from "couldn't create workqueue"
    to something more neutral, but this is ok too. Let's just declare
    it fixed and move on.

    -- Pete
    -
    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/

    \
     
     \ /
      Last update: 2007-03-28 20:47    [W:0.029 / U:0.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site