Re: [PATCH] i2o: add missing destroy_workqueue() on error in i2o_driver_register()

2013-09-24 Thread Andrew Morton
On Mon, 23 Sep 2013 17:56:56 +0800 Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing destroy_workqueue() before return from > i2o_driver_register() in the error handling case. yup. > --- a/drivers/message/i2o/driver.c > +++ b/drivers/message/i2o/driver.c > @@ -105,7 +105,8 @@ int i2o

Re: [PATCH] i2o: add missing destroy_workqueue() on error in i2o_driver_register()

2013-09-23 Thread Kees Cook
On Mon, Sep 23, 2013 at 2:56 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing destroy_workqueue() before return from > i2o_driver_register() in the error handling case. > > Signed-off-by: Wei Yongjun Good catch! Acked-by: Kees Cook -- Kees Cook Chrome OS Security -- To unsubsc

[PATCH] i2o: add missing destroy_workqueue() on error in i2o_driver_register()

2013-09-23 Thread Wei Yongjun
From: Wei Yongjun Add the missing destroy_workqueue() before return from i2o_driver_register() in the error handling case. Signed-off-by: Wei Yongjun --- drivers/message/i2o/driver.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/message/i2o/drive