Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758237Ab2BISfZ (ORCPT ); Thu, 9 Feb 2012 13:35:25 -0500 Received: from db3ehsobe001.messaging.microsoft.com ([213.199.154.139]:52522 "EHLO DB3EHSOBE002.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754136Ab2BISfX convert rfc822-to-8bit (ORCPT ); Thu, 9 Feb 2012 13:35:23 -0500 X-SpamScore: -9 X-BigFish: VS-9(zz9371I542M1432Nzz1202hzz8275dhz2dh2a8h668h839h8e2h8e3h944hbe9k) X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPV:NLI;H:mail.freescale.net;RD:none;EFVD:NLI From: Dong Aisheng-B29396 To: Julia Lawall , Liam Girdwood CC: "kernel-janitors@vger.kernel.org" , Mark Brown , Jaroslav Kysela , Takashi Iwai , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] sound/soc/mxs/mxs-saif.c: use devm_ functions Thread-Topic: [PATCH] sound/soc/mxs/mxs-saif.c: use devm_ functions Thread-Index: AQHM5oUgmXaGhY0fWUK7l1I9qEJRH5Y05LBQ Date: Thu, 9 Feb 2012 18:35:17 +0000 Message-ID: <7FE21149F4667147B645348EC60578850C1864@039-SN2MPN1-012.039d.mgd.msft.net> References: <1328721262-20993-1-git-send-email-Julia.Lawall@lip6.fr> In-Reply-To: <1328721262-20993-1-git-send-email-Julia.Lawall@lip6.fr> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [108.60.121.130] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 32 > -----Original Message----- > From: Julia Lawall [mailto:Julia.Lawall@lip6.fr] > Sent: Wednesday, February 08, 2012 9:14 AM > To: Liam Girdwood > Cc: kernel-janitors@vger.kernel.org; Mark Brown; Jaroslav Kysela; Takashi Iwai; > alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org; Dong Aisheng-B29396 > Subject: [PATCH] sound/soc/mxs/mxs-saif.c: use devm_ functions > Importance: High > > From: Julia Lawall > > The various devm_ functions allocate memory that is released when a driver > detaches. This patch uses these functions for data that is allocated in the > probe function of a platform device and is only freed in the remove function. > > Signed-off-by: Julia Lawall > > --- > patch against git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git > I still failed to apply against for-3.4 branch. Can you switch to for-3.4 branch and then re-generate the patch based on it? Regards Dong Aisheng -- 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/