Re: [PATCH] USB Elan FTDI: check for workqueue creation

From: Pete Zaitcev
Date: Thu Feb 22 2007 - 18:57:27 EST


On Mon, 19 Feb 2007 21:15:49 +0300, Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:

> +++ b/drivers/usb/misc/ftdi-elan.c
> @@ -57,9 +57,9 @@ module_param(distrust_firmware, bool, 0);
> MODULE_PARM_DESC(distrust_firmware, "true to distrust firmware power/overcurren"
> "t setup");
> extern struct platform_driver u132_platform_driver;
> -static struct workqueue_struct *status_queue;
> +static struct workqueue_struct *status_queue = NULL;

You better drop this part. Someone is bound to object.

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