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

From: Kees Cook
Date: Mon Sep 23 2013 - 11:47:40 EST


On Mon, Sep 23, 2013 at 2:56 AM, Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> Add the missing destroy_workqueue() before return from
> i2o_driver_register() in the error handling case.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>

Good catch!

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook
Chrome OS Security
--
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/