Message ID | 72a5b41c-a1c2-2ca5-db74-c1f77b07ab73@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A2B03602B7 for <patchwork-alsa-devel@patchwork.kernel.org>; Sun, 19 Nov 2017 20:24:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97B0F29004 for <patchwork-alsa-devel@patchwork.kernel.org>; Sun, 19 Nov 2017 20:24:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B6D828DAC; Sun, 19 Nov 2017 20:24:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E64B528DAC for <patchwork-alsa-devel@patchwork.kernel.org>; Sun, 19 Nov 2017 20:24:32 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C5ACC266F35; Sun, 19 Nov 2017 21:24:31 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 90CCD266F5E; Sun, 19 Nov 2017 21:24:30 +0100 (CET) Received: from mout.web.de (mout.web.de [212.227.15.14]) by alsa0.perex.cz (Postfix) with ESMTP id DE6BD266E76 for <alsa-devel@alsa-project.org>; Sun, 19 Nov 2017 21:24:28 +0100 (CET) Received: from [192.168.1.3] ([92.225.173.18]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MeSYJ-1eXEq03r6l-00QCr9; Sun, 19 Nov 2017 21:24:24 +0100 From: SF Markus Elfring <elfring@users.sourceforge.net> To: alsa-devel@alsa-project.org, Jaroslav Kysela <perex@perex.cz>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com> References: <54203404-1e40-3c97-a6e5-75a41ec3e742@users.sourceforge.net> Message-ID: <72a5b41c-a1c2-2ca5-db74-c1f77b07ab73@users.sourceforge.net> Date: Sun, 19 Nov 2017 21:24:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <54203404-1e40-3c97-a6e5-75a41ec3e742@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:chGx1w5KAiM2uyYlojBrWKAJCpuWD+ywT4LaHBDxdH3HP3tmUsK 3DKuV2T2XSF6X2Ez3RYi8xqGp01x2bfb/W8FayMXs31mQHnyHScCL8jTc6mPEWjbyduneCi C10cGwwVyXnVSt/bPO9DQNgUhTqT0sSk/37Np8KIKeuZgKkYivhFRGSEMBKQQD1wBBrXW7C LWk1BaY2AR88ns3lntBmg== X-UI-Out-Filterresults: notjunk:1; V01:K0:diDMZFHMwb0=:nSf1V4xwegLNgywYSvu0NF e2N2TZFiZSWkUUN1IFaRQARzTQWOxNVahLM5BgLYUtXWJN8S29G3hRrcnJw3DSiDDjKC2o7uT 06pg+UpSCikk8S8psxhWddK+ewAEvfMVVmBnyoP62vupjWlvS34f/+xBy5Qtdr6IHQGKZZXI5 8zBnNCSmCBY+bCFkn4S8IFDE4RIutgdwdClHkxUjp2ydL4uy8iGZv/MizbFSd+VCM+6lnmaoF 1k10t1MnxBskvoUP2VIwBwulg6ObjjyIJ2ca37J6r62e/wQ/YiEr4wOtouLyr4oL7W/07tA1q kJmVrTMAd8G1UUX86qAAwsuwRv03Tue4382uCeRbfe/B9/57Bw4H7efCVEFJYnoinXis9GZm1 7CZYdW4qO/x8pGL4h7b9xRIvfCXvAQ8YFEd4Ib0TgOwzmw2ShlFGUnLu4+0mSuGa2+/MKyJ5C GWPshPy27/5JAFNzlkq4lL4pAiRSuIix/XdYcskArBEQemBvS4p9pvvp3DA9h9G7GZN+1lOms VkuIpCSktvbXmHs5vVXaflrecHeUU8oQSr/VTggx3zT22/cv8PeTvsc3aMx3xXgEI0NZbPCdU 0yTY489eaZuwBBPNgLEps5F35VhMQve9B9InDFIeb6TZZkEE1CK1b2Sd/w4He9vl3HMfsSjMQ eJTbnbp/cduoX2Dx9gbZnaYTev1bBX+l0BH+n/Dug4Nk0AUX9rCq+4ysnBBD3wBtWTw9BeA3D CEgyuAbU1kZaKJqV6th29tjAFHbqI5ZTKRbdSP6BLDDareLtwS/0tlHfJMVJEK1gqMvYzAWAm 4lfvmezAWzymQ9+CE5Fu3wjpUaDyaOhKVatSnpP0EoqJNpjYt4= Cc: kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org> Subject: [alsa-devel] [PATCH 4/4] ASoC: soc-pcm: Improve a size determination in dpcm_be_connect() X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index fa2f7ccceacf..35b52cea5c89 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -1308,7 +1308,7 @@ static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, return 0; } - dpcm = kzalloc(sizeof(struct snd_soc_dpcm), GFP_KERNEL); + dpcm = kzalloc(sizeof(*dpcm), GFP_KERNEL); if (!dpcm) return -ENOMEM;