Re: [PATCH] USB Elan FTDI: check for driver registration status

From: Pete Zaitcev
Date: Wed Mar 28 2007 - 14:44:29 EST


On Wed, 28 Mar 2007 20:00:32 +0400, Cyrill Gorcunov <gorcunov@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/