Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp394638pxk; Thu, 17 Sep 2020 06:07:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+eGC9eeu/ue2uBEbMfnQyvrg5TqsLT9CrqQD/P2BMp3qhhhQqpV5C4gEt+U45KF+s6Bl0 X-Received: by 2002:a17:906:d14e:: with SMTP id br14mr28583798ejb.299.1600348079199; Thu, 17 Sep 2020 06:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600348079; cv=none; d=google.com; s=arc-20160816; b=aqlpx3gG3BQHwIGPFm9xvKGMz7SqO5zXm8RPBXvXkrsDfkVLoc2IJ+o6oafeIuB8MJ jioquD8c5/s132nNLnOHyi5AoKAYTnsNb3UlDXkQgEa7MDbNcaeXi/7za4qRaPXsQW9O aBZS3jtaH5Btit2cLYMjyypPemplQxojiIzMD1RHPRxugE0uMsHTnRNJJcMsEZWUrWZa SewZAO3AJ1gUTzQrLSejmdR+yIvM0YHv5NSKOMa7Syt7te+xclxj9qGPirrv6HB5EVLd 9qJf8OzEqa7zNGlLSR3/57MHDQczjUeH08FHx7Yyctga/LuM3qqLIJlFeb4ZpZRgPGmQ 5+HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VWZZoKhUjroNLpll2eU5vjUqNxtnR3wkR+uu5Ss0zr8=; b=bs/F27EwHAi8GxcvRbDceiPUqHwLY6A7mdOtauCdz1uWJe0BlYCGWaczUUK4pTYIuz FmyL+yYgiB6oaCxJl29vK+vyE1DLX7WusAcwl3otYpui+7LVrJOU6D4mCu8mOuHDOQka u76Khpy5nTCWN+QK74Bunf/e0lZS5V9axdYI/QflBuO8XfUfE7IhOaTRPcWG72Zf/USK LPiOWbWQCLTP570xT61qcrU41IFJoG0w/SR3WbAslKmu8AIqi9lSkso/byjVRPLUjyYw Yli6qyTuNgjHd2aTFODy1FCI+Ih+U3Y/YAfM9xH2YDoXVlHJXC8+vXYd4gHNw1GEzdzl TAuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mi3s2YQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z25si14284693ejl.386.2020.09.17.06.07.35; Thu, 17 Sep 2020 06:07:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mi3s2YQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726789AbgIQNGD (ORCPT + 99 others); Thu, 17 Sep 2020 09:06:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:35766 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbgIQNFZ (ORCPT ); Thu, 17 Sep 2020 09:05:25 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 52B782083B; Thu, 17 Sep 2020 13:05:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600347923; bh=VWZZoKhUjroNLpll2eU5vjUqNxtnR3wkR+uu5Ss0zr8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mi3s2YQgpeZZBpneKJuKUPowYJRNqmmOg9EnsuaQ6g7HwF8jYnhjAbFZq+G1I7ATn qMvrjkVDAonhONz4GUA8SHPmq0sMe7Jov1R5tPypU7ue+bWqQFozkiUnzir8+uMs9H dLNQL6u2z+vGlf08u1vwiMKYG0Z94iXzUizJeZpM= Date: Thu, 17 Sep 2020 14:04:34 +0100 From: Mark Brown To: Xu Wang Cc: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, shengjiu.wang@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fsl: imx-audmix : Replace seq_printf with seq_puts Message-ID: <20200917130434.GD4755@sirena.org.uk> References: <20200916061420.10403-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MAH+hnPXVZWQ5cD/" Content-Disposition: inline In-Reply-To: <20200916061420.10403-1-vulab@iscas.ac.cn> X-Cookie: If you fail to plan, plan to fail. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --MAH+hnPXVZWQ5cD/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 16, 2020 at 06:14:20AM +0000, Xu Wang wrote: > A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. > Thus use the corresponding function "devm_kcalloc". This looks fine but the subject says it's about seq_puts() not kcalloc(). --MAH+hnPXVZWQ5cD/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl9jXuEACgkQJNaLcl1U h9B3BQf/VarUuMPYus5VLpA+zmE+7JqUAcO3omQ6LMqaF7VBOQhDHlE45z4cWL+z puS/DV1XmM5bSGn+ZwcwBh6GvfamDg5oyGSTs8OkwMeWxCanjvexEE81RTAvzCgT qkAdheP90NZtRKHJImUV6KfmiTJXB2nokridUP+vC2L98aZjAYbVFuJ5CMkEuKOk jOzrE81vM69mIfnFnvcHRv7wH+WZszcgxc/WDTFDfYSQB5mMgBvVDT9mUPRJtjkj NdND/4RmGRSXcQ5l7iHszGwtUBSAGVVycv45pBPcm1z1Z/XXh0R4M9SbrICmDbZM g6zIaexA3gXNIUwR2p0czzGdbUD3ww== =AGo/ -----END PGP SIGNATURE----- --MAH+hnPXVZWQ5cD/--