All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: gwendal@google.com, devicetree@vger.kernel.org,
	alsa-devel@alsa-project.org, cychiang@google.com,
	drinkcat@google.com, robh+dt@kernel.org, tzungbi@google.com,
	broonie@kernel.org, kbuild-all@01.org,
	enric.balletbo@collabora.com, bleung@google.com,
	dgreid@google.com
Subject: Re: [PATCH 07/10] ASoC: cros_ec_codec: support WoV
Date: Sat, 5 Oct 2019 15:08:32 +0800	[thread overview]
Message-ID: <201910051510.bvaANc5Y%lkp@intel.com> (raw)
In-Reply-To: <20191005130552.7.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid>

[-- Attachment #1: Type: text/plain, Size: 2692 bytes --]

Hi Tzung-Bi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on asoc/for-next]
[cannot apply to v5.4-rc1 next-20191004]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Tzung-Bi-Shih/ASoC-mediatek-mt8183-mt6358-ts3a227-max98357-support-WoV/20191005-142224
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   sound/soc/codecs/cros_ec_codec.c: In function 'calculate_sha256':
>> sound/soc/codecs/cros_ec_codec.c:117:7: error: 'struct shash_desc' has no member named 'flags'
      desc->flags = 0x0;
          ^~
   sound/soc/codecs/cros_ec_codec.c: In function 'wov_map_shm':
>> sound/soc/codecs/cros_ec_codec.c:469:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      return (void *)(priv->ap_shm_addr + offset);
             ^
   sound/soc/codecs/cros_ec_codec.c: In function 'cros_ec_codec_platform_probe':
>> sound/soc/codecs/cros_ec_codec.c:1002:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       priv->ap_shm_addr = (uint64_t)devm_ioremap_wc(
                           ^

vim +117 sound/soc/codecs/cros_ec_codec.c

   101	
   102	static int calculate_sha256(struct cros_ec_codec_priv *priv,
   103				    uint8_t *buf, uint32_t size, uint8_t *digest)
   104	{
   105		struct crypto_shash *tfm;
   106	
   107		tfm = crypto_alloc_shash("sha256", CRYPTO_ALG_TYPE_SHASH, 0);
   108		if (IS_ERR(tfm)) {
   109			dev_err(priv->dev, "can't alloc shash\n");
   110			return PTR_ERR(tfm);
   111		}
   112	
   113		{
   114			SHASH_DESC_ON_STACK(desc, tfm);
   115	
   116			desc->tfm = tfm;
 > 117			desc->flags = 0x0;
   118	
   119			crypto_shash_digest(desc, buf, size, digest);
   120			shash_desc_zero(desc);
   121		}
   122	
   123		crypto_free_shash(tfm);
   124	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51676 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Tzung-Bi Shih <tzungbi@google.com>
Cc: gwendal@google.com, devicetree@vger.kernel.org,
	alsa-devel@alsa-project.org, cychiang@google.com,
	drinkcat@google.com, robh+dt@kernel.org, tzungbi@google.com,
	broonie@kernel.org, kbuild-all@01.org,
	enric.balletbo@collabora.com, bleung@google.com,
	dgreid@google.com
Subject: Re: [alsa-devel] [PATCH 07/10] ASoC: cros_ec_codec: support WoV
Date: Sat, 5 Oct 2019 15:08:32 +0800	[thread overview]
Message-ID: <201910051510.bvaANc5Y%lkp@intel.com> (raw)
In-Reply-To: <20191005130552.7.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid>

[-- Attachment #1: Type: text/plain, Size: 2692 bytes --]

Hi Tzung-Bi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on asoc/for-next]
[cannot apply to v5.4-rc1 next-20191004]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Tzung-Bi-Shih/ASoC-mediatek-mt8183-mt6358-ts3a227-max98357-support-WoV/20191005-142224
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   sound/soc/codecs/cros_ec_codec.c: In function 'calculate_sha256':
>> sound/soc/codecs/cros_ec_codec.c:117:7: error: 'struct shash_desc' has no member named 'flags'
      desc->flags = 0x0;
          ^~
   sound/soc/codecs/cros_ec_codec.c: In function 'wov_map_shm':
>> sound/soc/codecs/cros_ec_codec.c:469:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      return (void *)(priv->ap_shm_addr + offset);
             ^
   sound/soc/codecs/cros_ec_codec.c: In function 'cros_ec_codec_platform_probe':
>> sound/soc/codecs/cros_ec_codec.c:1002:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       priv->ap_shm_addr = (uint64_t)devm_ioremap_wc(
                           ^

vim +117 sound/soc/codecs/cros_ec_codec.c

   101	
   102	static int calculate_sha256(struct cros_ec_codec_priv *priv,
   103				    uint8_t *buf, uint32_t size, uint8_t *digest)
   104	{
   105		struct crypto_shash *tfm;
   106	
   107		tfm = crypto_alloc_shash("sha256", CRYPTO_ALG_TYPE_SHASH, 0);
   108		if (IS_ERR(tfm)) {
   109			dev_err(priv->dev, "can't alloc shash\n");
   110			return PTR_ERR(tfm);
   111		}
   112	
   113		{
   114			SHASH_DESC_ON_STACK(desc, tfm);
   115	
   116			desc->tfm = tfm;
 > 117			desc->flags = 0x0;
   118	
   119			crypto_shash_digest(desc, buf, size, digest);
   120			shash_desc_zero(desc);
   121		}
   122	
   123		crypto_free_shash(tfm);
   124	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51676 bytes --]

[-- Attachment #3: Type: text/plain, Size: 161 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [alsa-devel] [PATCH 07/10] ASoC: cros_ec_codec: support WoV
Date: Sat, 05 Oct 2019 15:08:32 +0800	[thread overview]
Message-ID: <201910051510.bvaANc5Y%lkp@intel.com> (raw)
In-Reply-To: <20191005130552.7.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid>

[-- Attachment #1: Type: text/plain, Size: 2760 bytes --]

Hi Tzung-Bi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on asoc/for-next]
[cannot apply to v5.4-rc1 next-20191004]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Tzung-Bi-Shih/ASoC-mediatek-mt8183-mt6358-ts3a227-max98357-support-WoV/20191005-142224
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   sound/soc/codecs/cros_ec_codec.c: In function 'calculate_sha256':
>> sound/soc/codecs/cros_ec_codec.c:117:7: error: 'struct shash_desc' has no member named 'flags'
      desc->flags = 0x0;
          ^~
   sound/soc/codecs/cros_ec_codec.c: In function 'wov_map_shm':
>> sound/soc/codecs/cros_ec_codec.c:469:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      return (void *)(priv->ap_shm_addr + offset);
             ^
   sound/soc/codecs/cros_ec_codec.c: In function 'cros_ec_codec_platform_probe':
>> sound/soc/codecs/cros_ec_codec.c:1002:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       priv->ap_shm_addr = (uint64_t)devm_ioremap_wc(
                           ^

vim +117 sound/soc/codecs/cros_ec_codec.c

   101	
   102	static int calculate_sha256(struct cros_ec_codec_priv *priv,
   103				    uint8_t *buf, uint32_t size, uint8_t *digest)
   104	{
   105		struct crypto_shash *tfm;
   106	
   107		tfm = crypto_alloc_shash("sha256", CRYPTO_ALG_TYPE_SHASH, 0);
   108		if (IS_ERR(tfm)) {
   109			dev_err(priv->dev, "can't alloc shash\n");
   110			return PTR_ERR(tfm);
   111		}
   112	
   113		{
   114			SHASH_DESC_ON_STACK(desc, tfm);
   115	
   116			desc->tfm = tfm;
 > 117			desc->flags = 0x0;
   118	
   119			crypto_shash_digest(desc, buf, size, digest);
   120			shash_desc_zero(desc);
   121		}
   122	
   123		crypto_free_shash(tfm);
   124	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 51676 bytes --]

  reply	other threads:[~2019-10-05  7:08 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-05  5:57 [PATCH 00/10] ASoC: mediatek: mt8183-mt6358-ts3a227-max98357: support WoV Tzung-Bi Shih
2019-10-05  5:57 ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:57 ` [PATCH 01/10] platform/chrome: cros_ec: remove unused EC feature Tzung-Bi Shih
2019-10-05  5:57   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 02/10] ASoC: cros_ec_codec: refactor I2S RX Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 03/10] ASoC: cros_ec_codec: extract DMIC EC command from " Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 04/10] platform/chrome: cros_ec: add common commands for EC codec Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 05/10] ASoC: cros_ec_codec: read max DMIC gain from " Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 06/10] ASoC: dt-bindings: cros_ec_codec: add SHM bindings Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 07/10] ASoC: cros_ec_codec: support WoV Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  7:08   ` kbuild test robot [this message]
2019-10-05  7:08     ` kbuild test robot
2019-10-05  7:08     ` kbuild test robot
2019-10-05  5:58 ` [PATCH 08/10] ASoC: mediatek: mt6358: " Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 09/10] ASoC: dt-bindings: mt8183: add ec-codec Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih
2019-10-05  5:58 ` [PATCH 10/10] ASoC: mediatek: mt8183: support WoV Tzung-Bi Shih
2019-10-05  5:58   ` [alsa-devel] " Tzung-Bi Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201910051510.bvaANc5Y%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bleung@google.com \
    --cc=broonie@kernel.org \
    --cc=cychiang@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dgreid@google.com \
    --cc=drinkcat@google.com \
    --cc=enric.balletbo@collabora.com \
    --cc=gwendal@google.com \
    --cc=kbuild-all@01.org \
    --cc=robh+dt@kernel.org \
    --cc=tzungbi@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.