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=-5.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS 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 6FCA8C4740A for ; Mon, 7 Oct 2019 07:05:37 +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 6E59B22477 for ; Mon, 7 Oct 2019 07:05:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="EtpSRvji"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="Lvcm1U5k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E59B22477 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.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 DF68885D; Mon, 7 Oct 2019 09:04:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DF68885D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1570431934; bh=pp76bsQfVribkloZk+Eu8MVEqzK8E/ugqF2KbSj72p0=; h=References:In-Reply-To:From:Date:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=EtpSRvji7xpjeimx66FJ9tzv44e1eNYuSE/gAb3hVENznrr06wHlL9I6ESe1/EbRr sNLmY4LvsAfpN7tW5mcZKWycr0vQPwAhY249JZvlH+fJ4R1NQbKBpU/KONCsQrqJwW bf38O7UCn94/+nGeWAl0xHN4lJOu1DGziWTqQ0oU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 50789F80137; Mon, 7 Oct 2019 09:04:43 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EC392F802BD; Mon, 7 Oct 2019 09:04:40 +0200 (CEST) Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 24750F80137 for ; Mon, 7 Oct 2019 09:04:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 24750F80137 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Lvcm1U5k" Received: by mail-ot1-x342.google.com with SMTP id g13so10073879otp.8 for ; Mon, 07 Oct 2019 00:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=V1Fq1if03fTxZwfIDS+AXRsqn/zMBIp6rhN/Ahq0s0M=; b=Lvcm1U5kMqQnGsZ/Z86XsSGVHGp8luMvhUw8V2IMJSj6VbyWwKPMJ5q2LXVUsx7eig KYRLZuUKYyOLEjvOdL07CUUwwDtgc6RzP3Zbko/JRR18jNxWne8Rl2my3Y0IaSGUNStN jrhOnddOzrYb9eBDjuEp8TmdhL/8DF2pNyxbTshOVduicQWwf3CtVlOH4iBRjtko4yh8 cLYdIAZcgbbjOkWlT008qamelHEudzFtl24cketvZFLM5iJLtIoxjM5P9kpg0oaUHMtS OUcztHsnlP5c9uWRtVlB7dnPTZNBUXi7kdJuffqkXU8negTN3voiobMPHKZZX7F0y9PQ r29A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=V1Fq1if03fTxZwfIDS+AXRsqn/zMBIp6rhN/Ahq0s0M=; b=YxnJz7h44+ljjIOm2xss/rIa7NGbwfdiLH5449E1p10+A0t/X4pY7Ns7HT9WsZkPeP AKcvI8VpkXdY/TWpW3CxEr22jWrH6jjC5CWLZ91MgRMP3qENjSZ0PXv9E3GRkSKrJ3QZ 1eXTct+M60Sf5DXagF1gurSDXUhanjlUr4GU2sx1D9XT5CZITy/Ugi0g1v4AlsMcKNS6 timPecRRsCIByEoDRwau9raJHQMCK1KfvBIQmspwfrxAK4wpiPedyOOVnb/o6l476LNd oHpUqFb6C4o/XhUrMX4YnX4omLWKFVuWGtnnBTcg5YMUMnUeXid9st7pXoJU+iMhfl0U BDWA== X-Gm-Message-State: APjAAAXfB4gVG55hbbXdNj1pryWNU0E+U3nAiaRRoBbPZfPMLcfp6HJK 9DJRY2TycrViajeHxu158pcGywScw4tCoyEb1phNoQ== X-Google-Smtp-Source: APXvYqz5NKpWPk5P2gnHbhTiIn9IVx8rbMKHqaQKsiNUqdryg3KYXMCeoiihQBTM9L7BJFj6bJX0jcfwMkZtgS8pnRM= X-Received: by 2002:a05:6830:1d97:: with SMTP id y23mr5419897oti.103.1570431875776; Mon, 07 Oct 2019 00:04:35 -0700 (PDT) MIME-Version: 1.0 References: <20191005164320.07.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid> <201910060040.RXI5XB2W%lkp@intel.com> In-Reply-To: <201910060040.RXI5XB2W%lkp@intel.com> From: Tzung-Bi Shih Date: Mon, 7 Oct 2019 15:04:24 +0800 Message-ID: To: 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 Subject: Re: [alsa-devel] [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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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". Guenter, what we could do in the case? Do you have any idea? _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel