From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rong Chen Subject: Re: [kbuild-all] Re: [PATCH v2 07/10] ASoC: cros_ec_codec: support WoV Date: Wed, 9 Oct 2019 15:25:21 +0800 Message-ID: References: <20191005164320.07.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid> <201910060040.RXI5XB2W%lkp@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Tzung-Bi Shih , kbuild test robot , Guenter Roeck Cc: Gwendal Grignou , devicetree@vger.kernel.org, ALSA development , Jimmy Cheng-Yi Chiang , Nicolas Boichat , robh+dt@kernel.org, Mark Brown , kbuild-all@01.org, Enric Balletbo i Serra , Benson Leung , Dylan Reid List-Id: devicetree@vger.kernel.org On 10/7/19 3:04 PM, Tzung-Bi Shih wrote: > On Sun, Oct 6, 2019 at 12:54 AM kbuild test robot wrote: >> url: https://github.com/0day-ci/linux/commits/Tzung-Bi-Shih/ASoC-mediatek-mt8183-mt6358-ts3a227-max98357-support-WoV/20191005-171021 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next >> reproduce: >> # apt-get install sparse >> # sparse version: v0.6.1-rc1-42-g38eda53-dirty >> make ARCH=x86_64 allmodconfig >> make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' >> >> If you fix the issue, kindly add following tag >> Reported-by: kbuild test robot >> >> >> sparse warnings: (new ones prefixed by >>) >> >>>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] >>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: expected void * >>>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: got void [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] * @@ got latile [noderef] * @@ >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: expected void const volatile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: got unsigned char [usertype] *addr >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] * @@ got latile [noderef] * @@ >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: expected void volatile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: got unsigned char [usertype] *wov_lang_shm_p >> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] * @@ got latile [noderef] * @@ >> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: expected void volatile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: got unsigned char [usertype] * > I cannot reproduce the same sparse errors. > > My commit stack: apply my patches onto broonie/sound.git for-next > $ git log --oneline > b4471777f5d8 (HEAD -> draft) ASoC: mediatek: mt8183: support WoV > b6bb558fa59d ASoC: dt-bindings: mt8183: add ec-codec > a08bede115d4 ASoC: mediatek: mt6358: support WoV > f67068fd0c91 ASoC: cros_ec_codec: support WoV > 7e11271c070e ASoC: dt-bindings: cros_ec_codec: add SHM bindings > fd04f20e77d3 ASoC: cros_ec_codec: read max DMIC gain from EC codec > c008f01d5bc3 platform/chrome: cros_ec: add common commands for EC codec > 50d2c1f9b1f4 ASoC: cros_ec_codec: extract DMIC EC command from I2S RX > 00e5a1c121eb ASoC: cros_ec_codec: refactor I2S RX > 3f0c475d6ec8 platform/chrome: cros_ec: remove unused EC feature > 3877dcd0194c (mark/for-next, asoc-next) Merge branch 'asoc-5.5' into asoc-next > > My reproduce steps: > $ make ARCH=x86_64 mrproper > $ make ARCH=x86_64 allmodconfig > $ make ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' -j40 > 2>&1 | grep -v sched | tee log.txt > (Note: filter sched out to not get flood sparse errors) > $ grep cros_ec_codec log.txt > CHECK sound/soc/codecs/cros_ec_codec.c > CC [M] sound/soc/codecs/cros_ec_codec.o > > It did not generate the same message as 0day reported. > > One difference would be the sparse version (it is from "apt install" > in my environment): > $ sparse --version > 0.6.0 (Debian: 0.6.0-3) > On the other hand, 0day used "v0.6.1-rc1-42-g38eda53-dirty". Hi, The sparse warnings could be generated by the latest sparse (https://github.com/lucvoo/sparse.git). Could you try again? Best Regards, Rong Chen > > Guenter, what we could do in the case? Do you have any idea? > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21DF4C47404 for ; Wed, 9 Oct 2019 07:26:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1F4AE206C0 for ; Wed, 9 Oct 2019 07:26:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="BFgrw9Zi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F4AE206C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E2F5885D; Wed, 9 Oct 2019 09:25:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E2F5885D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1570606001; bh=wgfmcJJJdsooULi3DPwwaq/TfM9JFk4+gk0Cdq9eQWA=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BFgrw9ZiJ2Q9eoag+u5obo4cZAFWRzRRIAwoig06tx4EaiGsK88iJ71EN5XYSjEj6 eirR38Ainy+gND18gxvCnxQh3ekPLpejrneNNmO5l2s+gaLNrmGw7OzWn/9+8HkGAo eKWo0cyoITWp90sVN/pP4TQBWLjJXO5nxeFg8Uc0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6BD81F802BD; Wed, 9 Oct 2019 09:25:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0E77CF802BE; Wed, 9 Oct 2019 09:25:48 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C9E6CF800BF for ; Wed, 9 Oct 2019 09:25:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C9E6CF800BF X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Oct 2019 00:25:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,273,1566889200"; d="scan'208";a="277346967" Received: from shao2-debian.sh.intel.com (HELO [10.239.13.6]) ([10.239.13.6]) by orsmga001.jf.intel.com with ESMTP; 09 Oct 2019 00:25:38 -0700 To: Tzung-Bi Shih , kbuild test robot , Guenter Roeck References: <20191005164320.07.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid> <201910060040.RXI5XB2W%lkp@intel.com> From: Rong Chen Message-ID: Date: Wed, 9 Oct 2019 15:25:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Cc: Gwendal Grignou , devicetree@vger.kernel.org, ALSA development , Jimmy Cheng-Yi Chiang , Nicolas Boichat , robh+dt@kernel.org, Mark Brown , kbuild-all@01.org, Enric Balletbo i Serra , Benson Leung , Dylan Reid Subject: Re: [alsa-devel] [kbuild-all] Re: [PATCH v2 07/10] ASoC: cros_ec_codec: support WoV X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 10/7/19 3:04 PM, Tzung-Bi Shih wrote: > On Sun, Oct 6, 2019 at 12:54 AM kbuild test robot wrote: >> url: https://github.com/0day-ci/linux/commits/Tzung-Bi-Shih/ASoC-mediatek-mt8183-mt6358-ts3a227-max98357-support-WoV/20191005-171021 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next >> reproduce: >> # apt-get install sparse >> # sparse version: v0.6.1-rc1-42-g38eda53-dirty >> make ARCH=x86_64 allmodconfig >> make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' >> >> If you fix the issue, kindly add following tag >> Reported-by: kbuild test robot >> >> >> sparse warnings: (new ones prefixed by >>) >> >>>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void * @@ got void [noderef] >>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: expected void * >>>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: got void [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] * @@ got latile [noderef] * @@ >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: expected void const volatile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: got unsigned char [usertype] *addr >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] * @@ got latile [noderef] * @@ >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: expected void volatile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: got unsigned char [usertype] *wov_lang_shm_p >> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] * @@ got latile [noderef] * @@ >> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: expected void volatile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: got unsigned char [usertype] * > I cannot reproduce the same sparse errors. > > My commit stack: apply my patches onto broonie/sound.git for-next > $ git log --oneline > b4471777f5d8 (HEAD -> draft) ASoC: mediatek: mt8183: support WoV > b6bb558fa59d ASoC: dt-bindings: mt8183: add ec-codec > a08bede115d4 ASoC: mediatek: mt6358: support WoV > f67068fd0c91 ASoC: cros_ec_codec: support WoV > 7e11271c070e ASoC: dt-bindings: cros_ec_codec: add SHM bindings > fd04f20e77d3 ASoC: cros_ec_codec: read max DMIC gain from EC codec > c008f01d5bc3 platform/chrome: cros_ec: add common commands for EC codec > 50d2c1f9b1f4 ASoC: cros_ec_codec: extract DMIC EC command from I2S RX > 00e5a1c121eb ASoC: cros_ec_codec: refactor I2S RX > 3f0c475d6ec8 platform/chrome: cros_ec: remove unused EC feature > 3877dcd0194c (mark/for-next, asoc-next) Merge branch 'asoc-5.5' into asoc-next > > My reproduce steps: > $ make ARCH=x86_64 mrproper > $ make ARCH=x86_64 allmodconfig > $ make ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' -j40 > 2>&1 | grep -v sched | tee log.txt > (Note: filter sched out to not get flood sparse errors) > $ grep cros_ec_codec log.txt > CHECK sound/soc/codecs/cros_ec_codec.c > CC [M] sound/soc/codecs/cros_ec_codec.o > > It did not generate the same message as 0day reported. > > One difference would be the sparse version (it is from "apt install" > in my environment): > $ sparse --version > 0.6.0 (Debian: 0.6.0-3) > On the other hand, 0day used "v0.6.1-rc1-42-g38eda53-dirty". Hi, The sparse warnings could be generated by the latest sparse (https://github.com/lucvoo/sparse.git). Could you try again? Best Regards, Rong Chen > > Guenter, what we could do in the case? Do you have any idea? > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3284452855029191774==" MIME-Version: 1.0 From: Rong Chen To: kbuild-all@lists.01.org Subject: Re: [alsa-devel] [PATCH v2 07/10] ASoC: cros_ec_codec: support WoV Date: Wed, 09 Oct 2019 07:28:07 +0000 Message-ID: In-Reply-To: List-Id: --===============3284452855029191774== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 10/7/19 3:04 PM, Tzung-Bi Shih wrote: > On Sun, Oct 6, 2019 at 12:54 AM kbuild test robot wrote: >> url: https://github.com/0day-ci/linux/commits/Tzung-Bi-Shih/ASoC-medi= atek-mt8183-mt6358-ts3a227-max98357-support-WoV/20191005-171021 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.gi= t for-next >> reproduce: >> # apt-get install sparse >> # sparse version: v0.6.1-rc1-42-g38eda53-dirty >> make ARCH=3Dx86_64 allmodconfig >> make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' >> >> If you fix the issue, kindly add following tag >> Reported-by: kbuild test robot >> >> >> sparse warnings: (new ones prefixed by >>) >> >>>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: sparse: incorrect typ= e in return expression (different address spaces) @@ expected void * @@ = got void [noderef] >>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: expected void * >>>> sound/soc/codecs/cros_ec_codec.c:430:39: sparse: got void [noderef]= * >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: sparse: incorrect typ= e in argument 2 (different address spaces) @@ expected void const volati= le [noderef] * @@ got latile [noderef] * @@ >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: expected void cons= t volatile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:549:69: sparse: got unsigned char = [usertype] *addr >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: sparse: incorrect typ= e in argument 1 (different address spaces) @@ expected void volatile [no= deref] * @@ got latile [noderef] * @@ >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: expected void vola= tile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:698:33: sparse: got unsigned char = [usertype] *wov_lang_shm_p >> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void volatile [= noderef] * @@ got latile [noderef] * @@ >> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: expected void vo= latile [noderef] * >>>> sound/soc/codecs/cros_ec_codec.c:699:48: sparse: got unsigned char = [usertype] * > I cannot reproduce the same sparse errors. > > My commit stack: apply my patches onto broonie/sound.git for-next > $ git log --oneline > b4471777f5d8 (HEAD -> draft) ASoC: mediatek: mt8183: support WoV > b6bb558fa59d ASoC: dt-bindings: mt8183: add ec-codec > a08bede115d4 ASoC: mediatek: mt6358: support WoV > f67068fd0c91 ASoC: cros_ec_codec: support WoV > 7e11271c070e ASoC: dt-bindings: cros_ec_codec: add SHM bindings > fd04f20e77d3 ASoC: cros_ec_codec: read max DMIC gain from EC codec > c008f01d5bc3 platform/chrome: cros_ec: add common commands for EC codec > 50d2c1f9b1f4 ASoC: cros_ec_codec: extract DMIC EC command from I2S RX > 00e5a1c121eb ASoC: cros_ec_codec: refactor I2S RX > 3f0c475d6ec8 platform/chrome: cros_ec: remove unused EC feature > 3877dcd0194c (mark/for-next, asoc-next) Merge branch 'asoc-5.5' into asoc= -next > > My reproduce steps: > $ make ARCH=3Dx86_64 mrproper > $ make ARCH=3Dx86_64 allmodconfig > $ make ARCH=3Dx86_64 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' -j40 > 2>&1 | grep -v sched | tee log.txt > (Note: filter sched out to not get flood sparse errors) > $ grep cros_ec_codec log.txt > CHECK sound/soc/codecs/cros_ec_codec.c > CC [M] sound/soc/codecs/cros_ec_codec.o > > It did not generate the same message as 0day reported. > > One difference would be the sparse version (it is from "apt install" > in my environment): > $ sparse --version > 0.6.0 (Debian: 0.6.0-3) > On the other hand, 0day used "v0.6.1-rc1-42-g38eda53-dirty". Hi, The sparse warnings could be generated by the latest sparse (https://github.com/lucvoo/sparse.git). Could you try again? Best Regards, Rong Chen > > Guenter, what we could do in the case? Do you have any idea? > _______________________________________________ > kbuild-all mailing list -- kbuild-all(a)lists.01.org > To unsubscribe send an email to kbuild-all-leave(a)lists.01.org --===============3284452855029191774==--