Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11162239ybi; Thu, 25 Jul 2019 11:04:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYfizwC5TQ6rfcrs+1U4afrvTmRCbTjXsW6KtsDCfHmAZbJtNTuVlurS6AaJJzKIcfo8FO X-Received: by 2002:a17:902:2a29:: with SMTP id i38mr92820735plb.46.1564077863695; Thu, 25 Jul 2019 11:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564077863; cv=none; d=google.com; s=arc-20160816; b=FxDadPmK53TRifQdJ5PgoEQEK4OQubktqykEkIXsukISkK29hXPBNGMMLaaratRf+G cLy+toov74b2/vDq1hy84sNyXTPdQzWd0mNW1ixlZYbDj2dG6NdS7kW1lH2nl3ERcRIb aKS3BSwbJpRo6kNkALb9asmslCPE7gIeYSMHh0Iq9I0L8zweS//deTG9M+TFBjTM7Qp5 RU3UsY5n2eN5ecLLnOMkzmpW+idwSvxM9U+BhT1qycq9YifLF/g+fFSYPbj8WhQN+bIK q+kGoMsaRvLckbji+r6N78NTtTToiwrYlyqaYfINPMgSXVUmSqKWq+vUTFGgnRqRN7TV Ixuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=lTfEveM+qQ9ssfNlvsk0uUOi6faNCzVEv4R+YL4sfe0=; b=Pzq5fULiqS0duf+JEvSAyjLkwhkUoKBB9NKP/i5QVNSHlVK1nDBTq98948KrpQWsPU GMMn27DQo5b/oo1JzSeiTx5l6KExJDHqB0J/7qOb5sHWYW+vSJYrgZWyQn7DUYHKOXON ONxKIc+OtRYCPLOejLIDwpYYZ/p3NUjBIxNenNxjkSVA7zjNXkXFoXSyj0zE+xrVCIP3 3tHTLmdkT3AFqpWUJeQsPfsh18Pk471b8VUvTx5sMY+B547cfGpMEMU1x/HuYxT0iSRf 0YDdjk3R2P8bLExZG3syoqNsWp5Qqex359coTOvE4ksgZ8zGWD5YicYnLQbZG8FoC7Zr shNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s64si19018996pgs.464.2019.07.25.11.04.08; Thu, 25 Jul 2019 11:04:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389519AbfGYPu1 (ORCPT + 99 others); Thu, 25 Jul 2019 11:50:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:46032 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726692AbfGYPu0 (ORCPT ); Thu, 25 Jul 2019 11:50:26 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C255FAF25; Thu, 25 Jul 2019 15:50:25 +0000 (UTC) Date: Thu, 25 Jul 2019 17:50:25 +0200 Message-ID: From: Takashi Iwai To: "Chuhong Yuan" Cc: , "Jaroslav Kysela" , Subject: Re: [PATCH] ALSA: echoaudio: Replace kmalloc + memcpy with kmemdup In-Reply-To: <20190725020924.7643-1-hslester96@gmail.com> References: <20190725020924.7643-1-hslester96@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Jul 2019 04:09:24 +0200, Chuhong Yuan wrote: > > Instead of using kmalloc + memcpy, use kmemdup > to simplify the code. > > Signed-off-by: Chuhong Yuan Applied, thanks. Takashi