From patchwork Thu Nov 22 04:08:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 13051 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 606FC4C178B for ; Thu, 22 Nov 2012 04:15:06 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 05243A18FE8 for ; Thu, 22 Nov 2012 04:15:05 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so48424ieb.11 for ; Wed, 21 Nov 2012 20:15:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=X/rEx5/UH5LJbBjr4B+TD8mYVry5hOF3oX+wznQptFQ=; b=nr2ivxKiBXJH3VkofsALSzZVyetbaBXdOFo9hg3SHYoxWJeHnWg9/6E06If0GFlOhH I5+a8I9kE0NLHbhJFYLF43vOCI1JGMKtrpIuRtgs8CIpobjfUqpZtxOvhymVgu4PQFoC aaU3Mm7vLeBfZUo9v/L7HyWpTXGiYT+s6eM7hOb16VaDDacMo8sbPRrzn7Gj18hpYoAG 3PKNrsOEBcwzIkkRpYaMCX/g/8aGx/AwHmspBxBs2fHptVy5hpEayHZY8qF4K07lNqr5 0dq0YHn41geZDplQuGaYTudyh7+M6tJr1/aWX5FB2ZLxewpTOBQGZJ3j7Y4j7bs9uRUk MAbA== Received: by 10.43.7.132 with SMTP id oo4mr19286540icb.6.1353557705806; Wed, 21 Nov 2012 20:15:05 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp147855igt; Wed, 21 Nov 2012 20:15:05 -0800 (PST) Received: by 10.68.191.10 with SMTP id gu10mr667285pbc.115.1353557705298; Wed, 21 Nov 2012 20:15:05 -0800 (PST) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id ka8si3352468pbc.245.2012.11.21.20.15.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2012 20:15:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.41; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pb0-f41.google.com with SMTP id xa7so5977076pbc.14 for ; Wed, 21 Nov 2012 20:15:05 -0800 (PST) Received: by 10.66.76.10 with SMTP id g10mr16296390paw.80.1353557705073; Wed, 21 Nov 2012 20:15:05 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id s7sm1164602paz.7.2012.11.21.20.15.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2012 20:15:04 -0800 (PST) From: Tushar Behera To: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com Cc: broonie@opensource.wolfsonmicro.com, patches@linaro.org Subject: [PATCH 02/10] ASoC: wm8753: remove invalid free of devm_ allocated data Date: Thu, 22 Nov 2012 09:38:34 +0530 Message-Id: <1353557322-25353-3-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1353557322-25353-1-git-send-email-tushar.behera@linaro.org> References: <1353557322-25353-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQnVP0ub8Cc0JlZ70H88Yys3GfpeXITzqV13N+/rui5XfBtUUIgyXtswgw1XYKN2FLkNBV92 Fixes following warning. sound/soc/codecs/wm8753.c:1594:1-6: WARNING: invalid free of devm_ allocated data Signed-off-by: Tushar Behera --- sound/soc/codecs/wm8753.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index 2e4a775..9914215 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c @@ -1591,7 +1591,6 @@ static int __devexit wm8753_spi_remove(struct spi_device *spi) snd_soc_unregister_codec(&spi->dev); regmap_exit(wm8753->regmap); - kfree(wm8753); return 0; }