Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752963Ab3IWPrh (ORCPT ); Mon, 23 Sep 2013 11:47:37 -0400 Received: from mail-oa0-f50.google.com ([209.85.219.50]:52898 "EHLO mail-oa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626Ab3IWPrf (ORCPT ); Mon, 23 Sep 2013 11:47:35 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 23 Sep 2013 08:47:33 -0700 X-Google-Sender-Auth: wnzTGklDrnsE2TJNzHc2S7YR0ys Message-ID: Subject: Re: [PATCH] i2o: add missing destroy_workqueue() on error in i2o_driver_register() From: Kees Cook To: Wei Yongjun Cc: Andrew Morton , yongjun_wei@trendmicro.com.cn, LKML Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 636 Lines: 20 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 unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/