From patchwork Mon Feb 13 09:36:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangweidong.a@awinic.com X-Patchwork-Id: 653236 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7767EC636D4 for ; Mon, 13 Feb 2023 09:38:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8B18F20B; Mon, 13 Feb 2023 10:37:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8B18F20B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676281116; bh=J6qxQBIjFxrqXByr6QtQR8A3Yluz5mnFuqM5ctPrhTE=; h=From:To:Subject:Date:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=POVY4ABO08UCP0Lxa3YrgHlGVHOKoxgZrVLMOZZiRkZFaj84+t04LEPpk8M0AQNF0 GP/csWzYajFLAHy6v3sEgwgJDX0ckJiTv2drPTd65lvfU02qq2U+wlbjcWX/7Ds3nK Qp5sGshoWcQCwDrTjW+Fl50fa9yXLrNwDbM+PJlg= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1209DF804B4; Mon, 13 Feb 2023 10:37:21 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 39B3CF804F2; Mon, 13 Feb 2023 10:37:12 +0100 (CET) Received: from out28-149.mail.aliyun.com (out28-149.mail.aliyun.com [115.124.28.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0B471F804B4 for ; Mon, 13 Feb 2023 10:37:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0B471F804B4 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1599715|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.00673938-0.000857743-0.992403; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047188; MF=wangweidong.a@awinic.com; NM=1; PH=DS; RN=21; RT=21; SR=0; TI=SMTPD_---.RKjcWmU_1676281015; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.RKjcWmU_1676281015) by smtp.aliyun-inc.com; Mon, 13 Feb 2023 17:36:56 +0800 From: wangweidong.a@awinic.com To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, krzysztof.kozlowski@linaro.org, rf@opensource.cirrus.com, pierre-louis.bossart@linux.intel.com, ckeepax@opensource.cirrus.com, shumingf@realtek.com, herve.codina@bootlin.com, james.schulman@cirrus.com, doug@schmorgal.com, yang.lee@linux.alibaba.com, trix@redhat.com, colin.i.king@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3][next] ASoC: codecs: Modify the log print statement Date: Mon, 13 Feb 2023 17:36:48 +0800 Message-Id: <20230213093649.22928-3-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213093649.22928-1-wangweidong.a@awinic.com> References: <20230213093649.22928-1-wangweidong.a@awinic.com> MIME-Version: 1.0 Message-ID-Hash: ZFUC3LTS3PTBC6TOIA3YMTARTE2KWYCZ X-Message-ID-Hash: ZFUC3LTS3PTBC6TOIA3YMTARTE2KWYCZ X-MailFrom: wangweidong.a@awinic.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: wangweidong.a@awinic.com, liweilei@awinic.com, zhaolei@awinic.com, yijiangtao@awinic.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Weidong Wang Change hdrlen to hdr_len Signed-off-by: Ben Yi Signed-off-by: Weidong Wang --- sound/soc/codecs/aw88395/aw88395_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/aw88395/aw88395_lib.c b/sound/soc/codecs/aw88395/aw88395_lib.c index d7c31a202adc..05bcf49da857 100644 --- a/sound/soc/codecs/aw88395/aw88395_lib.c +++ b/sound/soc/codecs/aw88395/aw88395_lib.c @@ -932,7 +932,7 @@ static int aw_dev_check_cfg_by_hdr(struct aw_device *aw_dev, struct aw_container hdr_ddt_len = cfg_hdr->hdr_offset + cfg_hdr->ddt_size; if (hdr_ddt_len > aw_cfg->len) { - dev_err(aw_dev->dev, "hdrlen with ddt_len [%d] overflow file size[%d]", + dev_err(aw_dev->dev, "hdr_len with ddt_len [%d] overflow file size[%d]", cfg_hdr->hdr_offset, aw_cfg->len); return -EINVAL; }