]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/message/i2o/driver.c: add missing destroy_workqueue() on error in i2o_driver_...
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 12 Nov 2013 23:10:24 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:26 +0000 (12:09 +0900)
commit3b984784217ee342ce8c56bf61a92c9bacd88eb0
treeb3998144abefadce0bfd6d57d284affc1bf229e1
parentc5444440a68e587657abb48b35f509a377e81d5e
drivers/message/i2o/driver.c: add missing destroy_workqueue() on error in i2o_driver_register()

Add the missing destroy_workqueue() before return from
i2o_driver_register() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/message/i2o/driver.c