Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932247AbbDQSRV (ORCPT ); Fri, 17 Apr 2015 14:17:21 -0400 Received: from mga11.intel.com ([192.55.52.93]:46299 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752488AbbDQSRR (ORCPT ); Fri, 17 Apr 2015 14:17:17 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,596,1422950400"; d="scan'208";a="711007283" Date: Fri, 17 Apr 2015 23:42:10 +0530 From: Vinod Koul To: Alexey Khoroshilov Cc: Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org Subject: Re: [PATCH] dmaengine: pch_dma: fix memory leak on failure path in pch_dma_probe() Message-ID: <20150417181210.GJ30624@intel.com> References: <1428704921-4487-1-git-send-email-khoroshilov@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428704921-4487-1-git-send-email-khoroshilov@ispras.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 504 Lines: 16 On Sat, Apr 11, 2015 at 01:28:41AM +0300, Alexey Khoroshilov wrote: > Memory allocated for pch_dma is not deallocated in case of failure > in pch_dma_probe(). > > Found by Linux Driver Verification project (linuxtesting.org). > Applied, thanks -- ~Vinod -- 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/