Re: [PATCH v4 1/6] edac: Don't try to cancel workqueue when it's never setup

2014-01-07 Thread Borislav Petkov
On Mon, Dec 30, 2013 at 12:14:12PM -0800, Stephen Boyd wrote: > We only setup a workqueue for edac devices that use the polling > method. We still try to cancel the workqueue if an edac_device > uses the irq method though. This causes a warning from debug > objects when we remove an edac device: >

[PATCH v4 1/6] edac: Don't try to cancel workqueue when it's never setup

2013-12-30 Thread Stephen Boyd
We only setup a workqueue for edac devices that use the polling method. We still try to cancel the workqueue if an edac_device uses the irq method though. This causes a warning from debug objects when we remove an edac device: WARNING: CPU: 0 PID: 56 at lib/debugobjects.c:260 debug_print_object+0x